Skip to content

Commit ea03292

Browse files
committed
Convert operators in the test to lowercase
1 parent 9278d71 commit ea03292

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Database/DatabaseQueryBuilderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ public function testWhereFulltextPostgres()
11881188
public function testWhereMultiple()
11891189
{
11901190
$builder = $this->getBuilder();
1191-
$builder->select('*')->from('users')->whereMultiple(['last_name', 'email'], 'LIKE','%Otwell%');
1191+
$builder->select('*')->from('users')->whereMultiple(['last_name', 'email'], 'like','%Otwell%');
11921192
$this->assertSame('select * from "users" where ("last_name" like ? or "email" like ?)', $builder->toSql());
11931193
$this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings());
11941194

@@ -1203,8 +1203,8 @@ public function testWhereMultiple()
12031203
$this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings());
12041204

12051205
$builder = $this->getBuilder();
1206-
$builder->select('*')->from('users')->whereMultiple(['last_name', 'email'],'NOT LIKE', '%Otwell%', 'and');
1207-
$this->assertSame('select * from "users" where ("last_name" NOT LIKE ? and "email" NOT LIKE ?)', $builder->toSql());
1206+
$builder->select('*')->from('users')->whereMultiple(['last_name', 'email'],'not like', '%Otwell%', 'and');
1207+
$this->assertSame('select * from "users" where ("last_name" not like ? and "email" not like ?)', $builder->toSql());
12081208
$this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings());
12091209
}
12101210

0 commit comments

Comments
 (0)