We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c88cf51 commit f1a1ba6Copy full SHA for f1a1ba6
lib/internal/Magento/Framework/Module/ModuleManagerInterface.php
@@ -1,4 +1,8 @@
1
<?php
2
+/**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
7
namespace Magento\Framework\Module;
8
lib/internal/Magento/Framework/Module/Test/Unit/ManagerTest.php
@@ -62,6 +62,7 @@ public function testIsEnabled()
62
63
public function testIsOutputEnabledReturnsFalseForDisabledModule()
64
{
65
+ $this->_moduleList->expects($this->once())->method('has')->with('Disabled_Module')->willReturn(false);
66
$this->_outputConfig->expects($this->any())->method('isSetFlag')->will($this->returnValue(true));
67
$this->assertFalse($this->_model->isOutputEnabled('Disabled_Module'));
68
}
0 commit comments