Skip to content

Commit

Permalink
sr(admin): fix case in training type
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentHardouin authored Nov 29, 2023
1 parent 97b8ad9 commit 202388b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module('Integration | Component | Trainings::CreateOrUpdateTrainingForm', functi
form = {
title: 'Un contenu formatif',
link: 'https://un-contenu-formatif',
type: 'Webinaire',
type: 'webinaire',
locale: 'fr-fr',
editorName: 'Un éditeur de contenu formatif',
editorLogoUrl: 'un-logo.svg',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module('Integration | Component | Trainings::TrainingDetailsCard', function (hoo
this.set('training', {
title: 'Un contenu formatif',
link: 'https://un-contenu-formatif',
type: 'Webinaire',
type: 'webinaire',
locale: 'fr-fr',
editorName: 'Un éditeur de contenu formatif',
editorLogoUrl: 'un-logo.svg',
Expand All @@ -28,7 +28,7 @@ module('Integration | Component | Trainings::TrainingDetailsCard', function (hoo
// then
assert.dom(screen.getByText('Un contenu formatif')).exists();
assert.dom(screen.getByText('https://un-contenu-formatif')).exists();
assert.dom(screen.getByText('Webinaire')).exists();
assert.dom(screen.getByText('webinaire')).exists();
assert.dom(screen.getByText('2j')).exists();
assert.dom(screen.getByText('Franco-français (fr-fr)')).exists();
assert.dom(screen.getByText('Un éditeur de contenu formatif')).exists();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module('Unit | Controller | authenticated/trainings/new', function (hooks) {
id: 3,
title: 'Ma formation',
link: 'https://mon-lien',
type: 'Webinaire',
type: 'webinaire',
locale: 'fr-fr',
editorLogoUrl: 'https//images.fr/mon-logo.svg',
editorName: 'Un éditeur de contenu formatif',
Expand Down

0 comments on commit 202388b

Please sign in to comment.