Skip to content

Commit fb7b940

Browse files
author
lafricain79
committed
fix: update integration tests to include maxSubmissions and isMaxSubmissionsReached fields
Signed-off-by: lafricain79 <lafricain79@gmail.com>
1 parent ef9189c commit fb7b940

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

tests/Integration/Api/ApiV3Test.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ public function dataGetNewForm() {
394394
'submissionMessage' => null,
395395
'fileId' => null,
396396
'fileFormat' => null,
397+
'maxSubmissions' => null,
398+
'isMaxSubmissionsReached' => false,
397399
]
398400
]
399401
];
@@ -525,6 +527,8 @@ public function dataGetFullForm() {
525527
'submissionCount' => 3,
526528
'fileId' => null,
527529
'fileFormat' => null,
530+
'maxSubmissions' => null,
531+
'isMaxSubmissionsReached' => false,
528532
]
529533
]
530534
];

tests/Integration/Api/RespectAdminSettingsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ private static function sharedTestForms(): array {
143143
],
144144
'canSubmit' => true,
145145
'submissionCount' => 0,
146+
'maxSubmissions' => null,
147+
'isMaxSubmissionsReached' => false,
146148
],
147149
];
148150
}

0 commit comments

Comments
 (0)