Skip to content

Commit 6ba4a6f

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

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

tests/QueryBuilderTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,6 @@ public function testOperators()
639639

640640
$results = DB::collection('users')->where('name', 'not regexp', '/.*doe/i')->get();
641641
$this->assertCount(1, $results);
642-
643642
}
644643

645644
public function testIncrement()

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
}

tests/models/Address.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ class Address extends Eloquent
77
{
88
protected $connection = 'mongodb';
99
protected static $unguarded = true;
10-
1110
}

0 commit comments

Comments
 (0)