Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: small text changes #390

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading