Skip to content

Commit

Permalink
fixup: Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
susnux committed Apr 23, 2024
1 parent 4a5cd72 commit 69939ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Integration/Api/ApiV2Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,10 @@ public function dataDeleteOption() {
$fullFormExpected = $this->dataGetFullForm()['getFullForm']['expected'];
array_splice($fullFormExpected['questions'][1]['options'], 0, 1);

// Now the other options are reordered
$fullFormExpected['questions'][1]['options'][0]['order'] = 0;
$fullFormExpected['questions'][1]['options'][1]['order'] = 1;

return [
'deleteOption' => [
'fullFormExpected' => $fullFormExpected
Expand Down

0 comments on commit 69939ee

Please sign in to comment.