Skip to content

Commit

Permalink
Avoid format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Feb 15, 2025
1 parent 27ac145 commit 30815d7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/Functional/Admin/SnapshotAdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ public function testFormsUrls(string $url, array $parameters, string $button, ar

$client->request('GET', $url, $parameters);
$client->submitForm($button, $fieldValues);

dump($client->getResponse());
$client->followRedirect();

self::assertResponseIsSuccessful();
Expand All @@ -93,8 +91,8 @@ public static function provideFormsUrlsCases(): iterable
'uniqid' => 'snapshot',
], 'btn_update_and_list', [
'snapshot[enabled]' => false,
'snapshot[publicationDateStart]' => 'May 4, 2022, 8:00:00 AM',
'snapshot[publicationDateEnd]' => 'May 4, 2022, 9:00:00 AM',
'snapshot[publicationDateStart]' => '',
'snapshot[publicationDateEnd]' => '',
]];

yield 'Remove Snapshot' => ['/admin/tests/app/sonatapagesnapshot/1/delete', [], 'btn_delete'];
Expand Down

0 comments on commit 30815d7

Please sign in to comment.