From e091b4d66ff03eebea174a2478936ee7b12e408f Mon Sep 17 00:00:00 2001 From: Tomasz Kryszan Date: Wed, 6 Sep 2023 07:54:29 +0200 Subject: [PATCH] Dropped expects from ArgumentMetadata mock --- .../ControllerArgumentResolver/LocationArgumentResolverTest.php | 1 - 1 file changed, 1 deletion(-) 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);