diff --git a/tests/PHPUnit/Button/Endpoint/ChangeCartEndpointTest.php b/tests/PHPUnit/Button/Endpoint/ChangeCartEndpointTest.php index 9eb6c654b..1949e62b3 100644 --- a/tests/PHPUnit/Button/Endpoint/ChangeCartEndpointTest.php +++ b/tests/PHPUnit/Button/Endpoint/ChangeCartEndpointTest.php @@ -88,6 +88,10 @@ class ChangeCartEndpointTest extends TestCase $defaultProduct ->shouldReceive('get_id') ->andReturn(1); + $defaultProduct + ->shouldReceive('is_type') + ->with('booking') + ->andReturn(false); $defaultProduct ->shouldReceive('is_type') ->with('variable') @@ -97,6 +101,10 @@ class ChangeCartEndpointTest extends TestCase $variationProduct ->shouldReceive('get_id') ->andReturn(2); + $variationProduct + ->shouldReceive('is_type') + ->with('booking') + ->andReturn(false); $variationProduct ->shouldReceive('is_type') ->with('variable')