From 10fbff8fc5886f0fa8211836cf993bf8a830016f Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 13 May 2022 13:12:30 +0200 Subject: [PATCH] tests/ResourceTest.php: Remove database seeding from test_default_query() as it's not used. --- tests/ResourceTest.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/ResourceTest.php b/tests/ResourceTest.php index 47ef30b..2f9151f 100644 --- a/tests/ResourceTest.php +++ b/tests/ResourceTest.php @@ -95,9 +95,6 @@ public function test_subtitle() public function test_default_query() { - User::create(['id' => 1, 'name' => 'Some name', 'email' => 'test@example.com']); - User::create(['id' => 1, 'name' => 'Some name2', 'email' => 'test2@example.com']); - $resource = new UserQueryResource(); $this->assertStringContainsString('order by "name" desc, "email" asc', $resource->query()->toSql()); }