Skip to content
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
4 changes: 2 additions & 2 deletions src/library-authoring/create-library/CreateLibrary.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ describe('<CreateLibrary />', () => {
expect(screen.getByText('TestOrg / test-archive')).toBeInTheDocument();
// Testing the archive details summary
expect(screen.getByText(/Contains 8 sections, 12 subsections, 20 units, 15 components/i)).toBeInTheDocument();
expect(screen.getByText(/Created on instance test.com/i)).toBeInTheDocument();
expect(screen.getByText(/Backup created on instance test.com/i)).toBeInTheDocument();
expect(screen.getByText(/by user [email protected]/i)).toBeInTheDocument();
});
});
Expand Down Expand Up @@ -537,7 +537,7 @@ describe('<CreateLibrary />', () => {
await waitFor(() => {
// Testing the archive details summary without instance and user email
expect(screen.getByText(/Contains 8 sections, 12 subsections, 20 units, 15 components/i)).toBeInTheDocument();
expect(screen.queryByText(/Created on instance/i)).not.toBeInTheDocument();
expect(screen.queryByText(/Backup created on instance/i)).not.toBeInTheDocument();
expect(screen.queryByText(/by user/i)).not.toBeInTheDocument();
});
});
Expand Down
6 changes: 3 additions & 3 deletions src/library-authoring/create-library/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ const messages = defineMessages({
},
slugHelp: {
id: 'course-authoring.library-authoring.create-library.form.slug.help',
defaultMessage: `The unique code that identifies this library. Note: This is
part of your library URL, so no spaces or special characters are allowed.
defaultMessage: `The unique code that identifies this library. Note: This is
part of your library URL, so no spaces or special characters are allowed.
This cannot be changed.`,
description: 'Help text for the slug field.',
},
Expand Down Expand Up @@ -125,7 +125,7 @@ const messages = defineMessages({
},
archiveRestoredCreatedBy: {
id: 'course-authoring.library-authoring.create-library.form.archive.restored-created-by',
defaultMessage: 'Created on instance {server}, by user {createdBy}',
defaultMessage: 'Backup created on instance {server}, by user {createdBy}',
description: 'Text showing who restored the archive.',
},
archiveBackupDate: {
Expand Down