Skip to content

Commit ffdb6c0

Browse files
committed
test: align request signature api payloads
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> (cherry picked from commit 4d61bfa)
1 parent b35dac8 commit ffdb6c0

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

tests/php/Api/Controller/RequestSignatureControllerTest.php

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ public function testPostRegisterWithSuccess():void {
6565
],
6666
'signers' => [
6767
[
68-
'identify' => [
69-
'email' => 'user@test.coop',
70-
],
68+
'identifyMethods' => [[
69+
'method' => 'email',
70+
'mandatory' => 0,
71+
'value' => 'user@test.coop',
72+
]],
7173
],
7274
],
7375
]);
@@ -118,9 +120,11 @@ public function testPatchRegisterWithSuccess():void {
118120
'name' => 'test',
119121
'signers' => [
120122
[
121-
'identify' => [
122-
'email' => 'person@test.coop',
123-
],
123+
'identifyMethods' => [[
124+
'method' => 'email',
125+
'mandatory' => 0,
126+
'value' => 'person@test.coop',
127+
]],
124128
],
125129
],
126130
'userManager' => $user,
@@ -137,9 +141,11 @@ public function testPatchRegisterWithSuccess():void {
137141
'uuid' => $file->getUuid(),
138142
'signers' => [
139143
[
140-
'identify' => [
141-
'email' => 'user@test.coop',
142-
],
144+
'identifyMethods' => [[
145+
'method' => 'email',
146+
'mandatory' => 0,
147+
'value' => 'user@test.coop',
148+
]],
143149
],
144150
],
145151
]);

0 commit comments

Comments
 (0)