Skip to content

Commit

Permalink
Merge pull request #322 from LordSimal/replace-phpunit-at
Browse files Browse the repository at this point in the history
replace phpunits at() method with once()
  • Loading branch information
dereuromark authored May 28, 2022
2 parents baca2e1 + b9de4aa commit 1994e97
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/TestCase/Model/Behavior/SearchBehaviorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ public function testProcessFilters()
->with($query)
->willReturnSelf();
$filter
->expects($this->at(2))
->expects($this->once())
->method('skip');
$filter
->expects($this->at(2))
->expects($this->once())
->method('process');

$filter2 = $this
Expand All @@ -128,10 +128,10 @@ public function testProcessFilters()
->with($query)
->willReturnSelf();
$filter2
->expects($this->at(2))
->expects($this->once())
->method('skip');
$filter2
->expects($this->at(2))
->expects($this->once())
->method('process');

$filter3 = $this
Expand All @@ -150,10 +150,10 @@ public function testProcessFilters()
->with($query)
->willReturnSelf();
$filter3
->expects($this->at(2))
->expects($this->once())
->method('skip');
$filter3
->expects($this->at(2))
->expects($this->once())
->method('process');

$filters = new FilterCollection($manager);
Expand Down

0 comments on commit 1994e97

Please sign in to comment.