From b24939534a8ca1c58435a30621435d3ef7f1ee87 Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Tue, 12 Nov 2024 21:48:39 +0100 Subject: [PATCH] Fixed test (?) --- tests/N98/Magento/ModulesTest.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/N98/Magento/ModulesTest.php b/tests/N98/Magento/ModulesTest.php index 60072186d..618594ec1 100644 --- a/tests/N98/Magento/ModulesTest.php +++ b/tests/N98/Magento/ModulesTest.php @@ -93,17 +93,12 @@ private function filter($option = null, $value = null) $i = 0; foreach ($options as $opt => $val) { - $input - ->expects(self::at($i++)) - ->method('getOption') - ->with($opt) - ->willReturn($val); - if (!$val) { continue; } - $input->expects(self::at($i++)) + $input + ->expects(self::at($i++)) ->method('getOption') ->with($opt) ->willReturn($val);