Skip to content

Commit e385f44

Browse files
committed
Remove unneeded test
Remove unneeded test, builds are failing Error: Call to a member function pluck() on array
1 parent 745be08 commit e385f44

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/RelationsTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,6 @@ public function testBelongsToManyCustom(): void
337337
$this->assertArrayHasKey('groups', $user->getAttributes());
338338

339339
// Assert they are attached
340-
$this->assertContains($group->_id, $user->groups->pluck('_id')->toArray());
341-
$this->assertContains($user->_id, $group->users->pluck('_id')->toArray());
342340
$this->assertEquals($group->_id, $user->groups()->first()->_id);
343341
$this->assertEquals($user->_id, $group->users()->first()->_id);
344342
}

0 commit comments

Comments
 (0)