Skip to content

Commit

Permalink
tests/ResourceTest.php: Remove database seeding from test_default_que…
Browse files Browse the repository at this point in the history
…ry() as it's not used.
  • Loading branch information
pnx committed May 13, 2022
1 parent c639784 commit 10fbff8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/ResourceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ public function test_subtitle()

public function test_default_query()
{
User::create(['id' => 1, 'name' => 'Some name', 'email' => '[email protected]']);
User::create(['id' => 1, 'name' => 'Some name2', 'email' => '[email protected]']);

$resource = new UserQueryResource();
$this->assertStringContainsString('order by "name" desc, "email" asc', $resource->query()->toSql());
}
Expand Down

0 comments on commit 10fbff8

Please sign in to comment.