@@ -1384,7 +1384,7 @@ public function testDynamicWhereAll()
1384
1384
$ this ->assertEquals ([100 , 200 , 100 , 200 ], $ builder ->getBindings ());
1385
1385
1386
1386
$ builder = $ this ->getBuilder ();
1387
- $ builder ->select ('* ' )->from ('products ' )->where ('name ' , 'like ' , '%shirt% ' )->orWhereAllNotBetween (['price ' , 'discounted_price ' ], [100 , 200 ]);
1387
+ $ builder ->select ('* ' )->from ('products ' )->where ('name ' , 'like ' , '%shirt% ' )->orWhereAllNotBetween (['price ' , 'discounted_price ' ], [100 , 200 ]);
1388
1388
$ this ->assertSame ('select * from "products" where "name" like ? or ("price" not between ? and ? and "discounted_price" not between ? and ?) ' , $ builder ->toSql ());
1389
1389
$ this ->assertEquals (['%shirt% ' , 100 , 200 , 100 , 200 ], $ builder ->getBindings ());
1390
1390
@@ -1425,7 +1425,6 @@ public function testBuilderThrowsExpectedExceptionWithUndefinedWhereAllMethod()
1425
1425
1426
1426
$ builder = $ this ->getBuilder ();
1427
1427
$ builder ->select ('* ' )->from ('users ' )->where ('name ' , 'John ' )->orWhereAllHelloWorld (['id ' ]);
1428
-
1429
1428
}
1430
1429
1431
1430
public function testDynamicWhereAny ()
@@ -1474,7 +1473,7 @@ public function testDynamicWhereNone()
1474
1473
$ builder = $ this ->getBuilder ();
1475
1474
$ builder ->select ('* ' )->from ('users ' )->where ('name ' , 'John ' )->orWhereNoneIn (['id ' , 'parent_id ' ], [1 , 2 , 3 ]);
1476
1475
$ this ->assertSame ('select * from "users" where "name" = ? or not ("id" in (?, ?, ?) or "parent_id" in (?, ?, ?)) ' , $ builder ->toSql ());
1477
- $ this ->assertEquals (['John ' , 1 ,2 , 3 , 1 , 2 , 3 ], $ builder ->getBindings ());
1476
+ $ this ->assertEquals (['John ' , 1 , 2 , 3 , 1 , 2 , 3 ], $ builder ->getBindings ());
1478
1477
1479
1478
$ builder = $ this ->getBuilder ();
1480
1479
$ builder ->select ('* ' )->from ('users ' )->where ('name ' , 'John ' )->orWhereNoneNull (['last_name ' , 'email ' ]);
0 commit comments