diff --git a/src/components/learner-credit-management/SubBudgetCard.jsx b/src/components/learner-credit-management/SubBudgetCard.jsx index ff81c89f0c..6261d3762a 100644 --- a/src/components/learner-credit-management/SubBudgetCard.jsx +++ b/src/components/learner-credit-management/SubBudgetCard.jsx @@ -89,7 +89,7 @@ const SubBudgetCard = ({ {isAssignable && ( -
Pending
+
Assigned
{isFetchingBudgets ? : formatPrice(pending)} diff --git a/src/components/learner-credit-management/tests/BudgetCard.test.jsx b/src/components/learner-credit-management/tests/BudgetCard.test.jsx index 4594de1b00..f146dc3111 100644 --- a/src/components/learner-credit-management/tests/BudgetCard.test.jsx +++ b/src/components/learner-credit-management/tests/BudgetCard.test.jsx @@ -523,10 +523,10 @@ describe('', () => { expect(screen.getByText('Available')).toBeInTheDocument(); expect(screen.getByText(formatPrice(mockBudgetAggregates.available))).toBeInTheDocument(); if (isAssignableBudget) { - expect(screen.getByText('Pending')).toBeInTheDocument(); + expect(screen.getByText('Assigned')).toBeInTheDocument(); expect(screen.getByText(formatPrice(mockBudgetAggregates.pending))).toBeInTheDocument(); } else { - expect(screen.queryByText('Pending')).not.toBeInTheDocument(); + expect(screen.queryByText('Assigned')).not.toBeInTheDocument(); } expect(screen.getByText('Spent')).toBeInTheDocument(); expect(screen.getByText(formatPrice(mockBudgetAggregates.spent))).toBeInTheDocument();