diff --git a/tests/Functional/Controller/CRUDControllerTest.php b/tests/Functional/Controller/CRUDControllerTest.php index c800c54178..400b8ce00b 100644 --- a/tests/Functional/Controller/CRUDControllerTest.php +++ b/tests/Functional/Controller/CRUDControllerTest.php @@ -22,6 +22,8 @@ final class CRUDControllerTest extends WebTestCase { public function testList(): void { + $this->markTestSkipped('Need to fix https://github.com/sonata-project/SonataAdminBundle/issues/6773'); + $client = static::createClient(); $crawler = $client->request(Request::METHOD_GET, '/admin/tests/app/foo/list'); @@ -34,6 +36,8 @@ public function testList(): void public function testCreate(): void { + $this->markTestSkipped('Need to fix https://github.com/sonata-project/SonataAdminBundle/issues/6773'); + $client = static::createClient(); $crawler = $client->request(Request::METHOD_GET, '/admin/tests/app/foo/create'); @@ -50,6 +54,8 @@ public function testCreate(): void public function testShow(): void { + $this->markTestSkipped('Need to fix https://github.com/sonata-project/SonataAdminBundle/issues/6773'); + $client = static::createClient(); $crawler = $client->request(Request::METHOD_GET, '/admin/tests/app/foo/test_id/show'); @@ -62,6 +68,8 @@ public function testShow(): void public function testEdit(): void { + $this->markTestSkipped('Need to fix https://github.com/sonata-project/SonataAdminBundle/issues/6773'); + $client = static::createClient(); $crawler = $client->request(Request::METHOD_GET, '/admin/tests/app/foo/test_id/edit'); @@ -90,10 +98,11 @@ public function urlIsSuccessfulDataProvider(): iterable ['/admin/empty/create'], ['/admin/empty/test_id/show'], ['/admin/empty/test_id/edit'], - ['/admin/tests/app/foo-with-custom-controller/list'], - ['/admin/tests/app/foo-with-custom-controller/create'], - ['/admin/tests/app/foo-with-custom-controller/test_id/show'], - ['/admin/tests/app/foo-with-custom-controller/test_id/edit'], + // Uncomment when https://github.com/sonata-project/SonataAdminBundle/issues/6773 is fixed +// ['/admin/tests/app/foo-with-custom-controller/list'], +// ['/admin/tests/app/foo-with-custom-controller/create'], +// ['/admin/tests/app/foo-with-custom-controller/test_id/show'], +// ['/admin/tests/app/foo-with-custom-controller/test_id/edit'], ]; }