From 6255bed5f5dfb21f6d461dfb827b952924db6a4e Mon Sep 17 00:00:00 2001 From: Iman Ghafoori Date: Tue, 25 Jun 2024 18:39:17 +0330 Subject: [PATCH] fix refs --- tests/OffsetLimitTest.php | 5 ----- tests/Unit/FakeDbTest.php | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/OffsetLimitTest.php b/tests/OffsetLimitTest.php index 92c9e4c..c1a7a6c 100644 --- a/tests/OffsetLimitTest.php +++ b/tests/OffsetLimitTest.php @@ -9,11 +9,6 @@ class OffsetUser extends Model { protected $table = 'users'; - - public function comments() - { - return $this->hasMany(HasManyComment::class, 'user_id'); - } } class OffsetLimitTest extends TestCase diff --git a/tests/Unit/FakeDbTest.php b/tests/Unit/FakeDbTest.php index 4443a18..0e6c2dd 100644 --- a/tests/Unit/FakeDbTest.php +++ b/tests/Unit/FakeDbTest.php @@ -34,7 +34,7 @@ public function fakeDbAliasColumns() 'comments' => ['cc' => 'aValue'], ]; - $this->assertEquals($resultingItem, FakeDb::aliasColumns($aliases, $item, $table)); + $this->assertEquals($resultingItem, FakeDB::aliasColumns($aliases, $item, $table)); } /** @@ -66,7 +66,7 @@ public function fakeDbAliasColumns2() "comments" => ["cc" => "aValue"], ]; - $this->assertEquals($resultingItem, FakeDb::aliasColumns($aliases, $item, $table)); + $this->assertEquals($resultingItem, FakeDB::aliasColumns($aliases, $item, $table)); } /**