Skip to content

Commit

Permalink
Fixed test (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Nov 12, 2024
1 parent 36a4a26 commit b249395
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/N98/Magento/ModulesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b249395

Please sign in to comment.