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 d43888e commit 93e6035Copy full SHA for 93e6035
app/code/Magento/Wishlist/Test/Unit/Controller/Index/PluginTest.php
@@ -6,8 +6,12 @@
6
7
namespace Magento\Wishlist\Test\Unit\Controller\Index;
8
9
+use Magento\Store\Model\ScopeInterface;
10
+
11
/**
12
* Test for wishlist plugin before dispatch
13
+ *
14
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
15
*/
16
class PluginTest extends \PHPUnit\Framework\TestCase
17
{
@@ -175,7 +179,7 @@ public function testBeforeDispatch()
175
179
$this->config
176
180
->expects($this->once())
177
181
->method('isSetFlag')
178
- ->with('wishlist/general/active')
182
+ ->with('wishlist/general/active', ScopeInterface::SCOPE_STORES)
183
->willReturn(false);
184
185
$this->getPlugin()->beforeDispatch($indexController, $this->request);
0 commit comments