Skip to content

Commit

Permalink
Skip creating a homepage on SimpleControllerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
roelofr committed Nov 17, 2023
1 parent d4d6444 commit 48d743a
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions tests/Feature/Http/Controllers/Minisite/SimpleControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,10 @@ class SimpleControllerTest extends TestCase
public function setupSitePages(): void
{
$this->afterApplicationCreated(function () {
Page::factory()->createMany([
[
'slug' => 'home',
'title' => 'Test Site Homepage Localhost',
'group' => 'test-site.localhost',
],
[
'slug' => 'about',
'title' => 'Test Site AboutPage Localhost',
'group' => 'test-site.localhost',
],
Page::factory()->create([
'slug' => 'about',
'title' => 'Test Site AboutPage Localhost',
'group' => 'test-site.localhost',
]);
});
}
Expand Down

0 comments on commit 48d743a

Please sign in to comment.