Skip to content

Commit

Permalink
search field without section
Browse files Browse the repository at this point in the history
  • Loading branch information
Seretos committed Jan 13, 2019
1 parent 8e705cb commit a75531b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api/CasesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function findByTitle(){
->with('get_cases/1&suite_id=2&section_id=3')
->will($this->returnValue([['id' => 1,'title' => 'case1'],['id' => 2,'title' => 'case2']]));

$this->assertSame(['id' => 2,'title' => 'case2'],$this->cases->findByField(1,2,3,'title','case2'));
$this->assertSame(['id' => 2,'title' => 'case2'],$this->cases->findByField(1,2,'title','case2',3));
}

/**
Expand Down

0 comments on commit a75531b

Please sign in to comment.