From 60d06cdee204e60de60fe97d7147250ffe786a8c Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 6 Dec 2024 15:04:06 +0100 Subject: [PATCH] Fix test removing gitkeep file --- .../publications/tests/Feature/PublicationPageCompilerTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/publications/tests/Feature/PublicationPageCompilerTest.php b/packages/publications/tests/Feature/PublicationPageCompilerTest.php index e8e692e2dbd..f88ced94718 100644 --- a/packages/publications/tests/Feature/PublicationPageCompilerTest.php +++ b/packages/publications/tests/Feature/PublicationPageCompilerTest.php @@ -47,7 +47,6 @@ public function testCanCompilePublicationPagesWithRegisteredView() $schema = json_decode(file_get_contents(Hyde::path('test-publication/schema.json'))); $schema->detailTemplate = 'foo'; file_put_contents(Hyde::path('test-publication/schema.json'), json_encode($schema)); - $this->directory('resources/views'); $this->file('resources/views/foo.blade.php', 'Registered detail view'); $publicationPage = new PublicationPage('my-publication', type: PublicationType::get('test-publication')); @@ -62,7 +61,6 @@ public function testCanCompileListPagesWithRegisteredView() $schema = json_decode(file_get_contents(Hyde::path('test-publication/schema.json'))); $schema->listTemplate = 'foo'; file_put_contents(Hyde::path('test-publication/schema.json'), json_encode($schema)); - $this->directory('resources/views'); $this->file('resources/views/foo.blade.php', 'Registered list view'); $publicationType = PublicationType::get('test-publication');