We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c85e2e0 commit a888cefCopy full SHA for a888cef
1 file changed
tests/PHPUnit/StoreSync/CartValidation/ProductValidatorTest.php
@@ -24,8 +24,8 @@ public function setUp(): void {
24
parent::setUp();
25
26
$this->product_filter = Mockery::mock( ProductFilter::class );
27
- $this->product_filter->allows( 'criteria_violation' )->andReturn( null );
28
- $this->product_filter->allows( 'passes_exclusion_filter' )->andReturn( true );
+ $this->product_filter->allows( 'criteria_violation' )->andReturn( null )->byDefault();
+ $this->product_filter->allows( 'passes_exclusion_filter' )->andReturn( true )->byDefault();
29
30
$this->validator = new ProductValidator( $this->product_filter );
31
}
0 commit comments