diff --git a/tests/TestCase.php b/tests/TestCase.php index 41626799..84bcd134 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -37,7 +37,7 @@ protected function setUp(): void $uses = array_flip(class_uses_recursive(static::class)); if ($this->shouldFakeVersion) { - \Facades\Statamic\Version::shouldReceive('get')->andReturn('3.0.0-testing'); + \Facades\Statamic\Version::shouldReceive('get')->zeroOrMoreTimes()->andReturn('3.0.0-testing'); $this->addToAssertionCount(-1); // Dont want to assert this }