diff --git a/tests/bundle/Core/ControllerArgumentResolver/LocationArgumentResolverTest.php b/tests/bundle/Core/ControllerArgumentResolver/LocationArgumentResolverTest.php index cb8fc641db..36a36c0bdc 100644 --- a/tests/bundle/Core/ControllerArgumentResolver/LocationArgumentResolverTest.php +++ b/tests/bundle/Core/ControllerArgumentResolver/LocationArgumentResolverTest.php @@ -127,7 +127,6 @@ private function createArgumentMetadata(string $type): ArgumentMetadata { $argumentMetadata = $this->createMock(ArgumentMetadata::class); $argumentMetadata - ->expects(self::atLeastOnce()) ->method('getType') ->willReturn($type);