Skip to content

Commit fd26756

Browse files
committed
Merge branch 'wherein-subquery' of github.com:Weebly/laravel-mutate into wherein-subquery
2 parents ffe8686 + 407f999 commit fd26756

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"mockery/mockery": "^1.0",
1515
"phpunit/phpunit": "^8.0",
1616
"laravel/framework": "6.*",
17-
"orchestra/testbench": ">=3.0 <4.0.0"
17+
"orchestra/testbench": ">=3.0 <5.0.0"
1818
},
1919
"autoload": {
2020
"psr-4": {

tests/Integration/MutatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function test_where_in_subquery()
124124
$id2 = Uuid::uuid1()->toString();
125125
(new TestModel())->create(['id' => $id, 'name' => 'A chair']);
126126
(new TestModel())->create(['id' => $id2, 'name' => 'A table']);
127-
$p = TestModel::whereIn('id', function($query) {
127+
$p = TestModel::whereIn('id', function ($query) {
128128
$query->select('id')->from('test_model');
129129
})->get();
130130
$this->assertEquals(2, $p->count());

0 commit comments

Comments
 (0)