Skip to content

Commit

Permalink
Updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Nov 11, 2024
1 parent a7a1c4c commit c9393d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ public function beforeRenderModuleList(Varien_Event_Observer $observer): void
$data = $modules->getData();
/** @var Mage_Core_Model_Config_Element $module */
foreach ($data as $index => $module) {
$module = $module->asArray();
if ($module['active'] === 'false') {
if ($module->active === 'false') {
unset($data[$index]);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function setUp(): void
*/
public function testGetModulesCount(): void
{
$this->assertSame(61, count($this->subject->getModules()));
$this->assertSame(60, count($this->subject->getModules()));
}

/**
Expand Down

0 comments on commit c9393d8

Please sign in to comment.