@@ -25,22 +25,6 @@ module('Integration | Component | certification-centers/information-edit', funct
25
25
const onSubmit = sinon .stub ();
26
26
27
27
module (' certification center edit form validation' , function () {
28
- test (' it should display a checkbox to edit the isV3Pilot certification center status ' , async function (assert ) {
29
- // when
30
- const screen = await render (
31
- <template ><InformationEdit @ certificationCenter ={{certificationCenter }} /></template >,
32
- );
33
-
34
- // then
35
- assert
36
- .dom (
37
- screen .getByRole (' checkbox' , {
38
- name: ' Pilote Certification V3 (ce centre de certification ne pourra organiser que des sessions V3)' ,
39
- }),
40
- )
41
- .exists ();
42
- });
43
-
44
28
test (" it should show an error message if certification center's name is empty" , async function (assert ) {
45
29
// given
46
30
const screen = await render (
@@ -210,11 +194,6 @@ module('Integration | Component | certification-centers/information-edit', funct
210
194
await fillByLabel (' Prénom du DPO' , ' newFirstname' );
211
195
await fillByLabel (' Nom du DPO' , ' newLastname' );
212
196
await fillByLabel (' Adresse e-mail du DPO' , ' newMail@example.net' );
213
- await click (
214
- screen .getByRole (' checkbox' , {
215
- name: ' Pilote Certification V3 (ce centre de certification ne pourra organiser que des sessions V3)' ,
216
- }),
217
- );
218
197
219
198
await click (screen .getByRole (' button' , { name: ' Enregistrer' }));
220
199
@@ -226,7 +205,7 @@ module('Integration | Component | certification-centers/information-edit', funct
226
205
assert .strictEqual (certificationCenter .dataProtectionOfficerFirstName , ' newFirstname' );
227
206
assert .strictEqual (certificationCenter .dataProtectionOfficerLastName , ' newLastname' );
228
207
assert .strictEqual (certificationCenter .dataProtectionOfficerEmail , ' newMail@example.net' );
229
- assert .false (certificationCenter .isV3Pilot );
208
+ assert .true (certificationCenter .isV3Pilot );
230
209
});
231
210
232
211
test (' it should add the habilitation to the certification center' , async function (assert ) {
0 commit comments