Skip to content

Commit a57de21

Browse files
committed
test: align file api signer payloads
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> (cherry picked from commit 727e13a)
1 parent ffdb6c0 commit a57de21

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

tests/php/Api/Controller/FileControllerTest.php

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ public function testValidateWithSuccessUsingUnloggedUser():void {
5959
'name' => 'test',
6060
'signers' => [
6161
[
62-
'identify' => [
63-
'email' => 'person@test.coop',
64-
],
62+
'identifyMethods' => [[
63+
'method' => 'email',
64+
'mandatory' => 0,
65+
'value' => 'person@test.coop',
66+
]],
6567
],
6668
],
6769
'userManager' => $user,
@@ -98,9 +100,11 @@ public function testValidateWithSuccessUsingSigner():void {
98100
'name' => 'test',
99101
'signers' => [
100102
[
101-
'identify' => [
102-
'email' => 'person@test.coop',
103-
],
103+
'identifyMethods' => [[
104+
'method' => 'email',
105+
'mandatory' => 0,
106+
'value' => 'person@test.coop',
107+
]],
104108
],
105109
],
106110
'userManager' => $user,

0 commit comments

Comments
 (0)