This commit is contained in:
naomi 2022-05-15 19:26:54 +01:00
parent f1965ff3c1
commit 804694c0cc

View File

@ -27,7 +27,7 @@ class UtilsTest extends UnitTestCase{
$this->expectException(\RuntimeException::class);
$this->utils->addConditionsToQuery($this->query, [["1","2"], ["1"]]);
}
public function testAddConditionToQueryCallsAddsTheRightAmountOfConditions():void {
public function testAddConditionToQueryAddsTheRightAmountOfConditions():void {
$this->query->expects($this->exactly(4))->method('condition');
$this->utils->addConditionsToQuery($this->query, [["1","2","3"], ["lk", "n", "kk"], ['sfd', 'ds', 'fds'], ["1","2","3"]]);
}