diff --git a/tests/Database/DatabaseQueryBuilderTest.php b/tests/Database/DatabaseQueryBuilderTest.php index d732401c8d7c..5ec973ce9c43 100755 --- a/tests/Database/DatabaseQueryBuilderTest.php +++ b/tests/Database/DatabaseQueryBuilderTest.php @@ -1188,7 +1188,7 @@ public function testWhereFulltextPostgres() public function testWhereMultiple() { $builder = $this->getBuilder(); - $builder->select('*')->from('users')->whereMultiple(['last_name', 'email'], 'LIKE','%Otwell%'); + $builder->select('*')->from('users')->whereMultiple(['last_name', 'email'], 'like','%Otwell%'); $this->assertSame('select * from "users" where ("last_name" like ? or "email" like ?)', $builder->toSql()); $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); @@ -1203,8 +1203,8 @@ public function testWhereMultiple() $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); $builder = $this->getBuilder(); - $builder->select('*')->from('users')->whereMultiple(['last_name', 'email'],'NOT LIKE', '%Otwell%', 'and'); - $this->assertSame('select * from "users" where ("last_name" NOT LIKE ? and "email" NOT LIKE ?)', $builder->toSql()); + $builder->select('*')->from('users')->whereMultiple(['last_name', 'email'],'not like', '%Otwell%', 'and'); + $this->assertSame('select * from "users" where ("last_name" not like ? and "email" not like ?)', $builder->toSql()); $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); }