Skip to content

Commit

Permalink
Merge pull request #390 from openedx/kiram15/ENT-9091
Browse files Browse the repository at this point in the history
fix: small text changes
  • Loading branch information
kiram15 authored Jul 1, 2024
2 parents e96d171 + dbec11c commit 3798d97
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('PolicyContainer', () => {
expect(screen.getByText('Budget details')).toBeInTheDocument();
expect(screen.getByText('I love Executive Education Only')).toBeInTheDocument();
expect(screen.getByText('Executive Education')).toBeInTheDocument();
expect(screen.getByText('Learner selects content or LMS')).toBeInTheDocument();
expect(screen.getByText('Browse and Enroll or LMS')).toBeInTheDocument();
expect(screen.getByText('Create learner spend limits?')).toBeInTheDocument();
expect(screen.getByText('Per learner spend limit ($)')).toBeInTheDocument();
expect(screen.getByText('$2,500')).toBeInTheDocument();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('PolicyDistributionDetail', () => {
);
expect(screen.getByText('Budget distribution mode')).toBeInTheDocument();
expect(screen.getByText('How is content selected?')).toBeInTheDocument();
expect(screen.getByText('Learner selects content or LMS')).toBeInTheDocument();
expect(screen.getByText('Browse and Enroll or LMS')).toBeInTheDocument();
expect(screen.getByText('Not editable')).toBeInTheDocument();
});
it('renders Admin selects option', () => {
Expand All @@ -45,7 +45,7 @@ describe('PolicyDistributionDetail', () => {
<PolicyDistributionDetail policyType={policyType} />
</ProvisioningContext>,
);
expect(screen.getByText('Admin selects content')).toBeInTheDocument();
expect(screen.getByText('Admin assign')).toBeInTheDocument();
expect(screen.getByText('Not editable')).toBeInTheDocument();
});
});
4 changes: 2 additions & 2 deletions src/Configuration/Provisioning/data/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,12 @@ const PROVISIONING_PAGE_TEXT = {
LABEL: 'How is content selected?',
OPTIONS: {
LEARNER_SELECTS: {
DESCRIPTION: 'Learner selects content or LMS',
DESCRIPTION: 'Browse and Enroll or LMS',
VALUE: 'PerLearnerSpendCreditAccessPolicy',
ACCESS_METHOD: 'direct',
},
ADMIN_SELECTS: {
DESCRIPTION: 'Admin selects content',
DESCRIPTION: 'Admin assign',
VALUE: 'AssignedLearnerCreditAccessPolicy',
ACCESS_METHOD: 'assigned',
},
Expand Down

0 comments on commit 3798d97

Please sign in to comment.