@@ -82,9 +82,11 @@ public function testSignUsingFileIdWithAlreadySignedFile():void {
8282 'name ' => 'test ' ,
8383 'signers ' => [
8484 [
85- 'identify ' => [
86- 'account ' => 'username ' ,
87- ],
85+ 'identifyMethods ' => [[
86+ 'method ' => 'account ' ,
87+ 'mandatory ' => 0 ,
88+ 'value ' => 'username ' ,
89+ ]],
8890 ],
8991 ],
9092 'userManager ' => $ user ,
@@ -126,9 +128,11 @@ public function testSignUsingFileIdWithNotFoundFile():void {
126128 'name ' => 'test ' ,
127129 'signers ' => [
128130 [
129- 'identify ' => [
130- 'email ' => 'person@test.coop ' ,
131- ],
131+ 'identifyMethods ' => [[
132+ 'method ' => 'email ' ,
133+ 'mandatory ' => 0 ,
134+ 'value ' => 'person@test.coop ' ,
135+ ]],
132136 ],
133137 ],
134138 'userManager ' => $ user ,
@@ -170,9 +174,11 @@ public function testSignUsingUuidWithEmptyToken():void {
170174 'name ' => 'test ' ,
171175 'signers ' => [
172176 [
173- 'identify ' => [
174- 'email ' => 'person@test.coop ' ,
175- ],
177+ 'identifyMethods ' => [[
178+ 'method ' => 'email ' ,
179+ 'mandatory ' => 0 ,
180+ 'value ' => 'person@test.coop ' ,
181+ ]],
176182 ],
177183 ],
178184 'userManager ' => $ user ,
@@ -207,9 +213,11 @@ public function testSignWithCertificateButEmptyPassword():void {
207213 'name ' => 'test ' ,
208214 'signers ' => [
209215 [
210- 'identify ' => [
211- 'email ' => 'person@test.coop ' ,
212- ],
216+ 'identifyMethods ' => [[
217+ 'method ' => 'email ' ,
218+ 'mandatory ' => 0 ,
219+ 'value ' => 'person@test.coop ' ,
220+ ]],
213221 ],
214222 ],
215223 'userManager ' => $ user ,
@@ -263,9 +271,11 @@ public function testDeleteSignFileIdSignRequestIdWithSuccess():void {
263271 'name ' => 'test ' ,
264272 'signers ' => [
265273 [
266- 'identify ' => [
267- 'email ' => 'person@test.coop ' ,
268- ],
274+ 'identifyMethods ' => [[
275+ 'method ' => 'email ' ,
276+ 'mandatory ' => 0 ,
277+ 'value ' => 'person@test.coop ' ,
278+ ]],
269279 ],
270280 ],
271281 'userManager ' => $ user ,
@@ -311,9 +321,11 @@ public function testDeleteUsingSignFileIdWithSuccess():void {
311321 'name ' => 'test ' ,
312322 'signers ' => [
313323 [
314- 'identify ' => [
315- 'email ' => 'person@test.coop ' ,
316- ],
324+ 'identifyMethods ' => [[
325+ 'method ' => 'email ' ,
326+ 'mandatory ' => 0 ,
327+ 'value ' => 'person@test.coop ' ,
328+ ]],
317329 ],
318330 ],
319331 'userManager ' => $ user ,
0 commit comments