/** * @covers \Magento\Store\Model\Store::getBaseStaticDir */ public function testGetBaseStaticDir() { $expectedResult = 'pub/static'; $this->filesystemMock->expects($this->once())->method('getUri')->with(\Magento\Framework\App\Filesystem\DirectoryList::STATIC_VIEW)->willReturn($expectedResult); $this->assertEquals($expectedResult, $this->store->getBaseStaticDir()); }
/** * {@inheritdoc} */ public function getBaseStaticDir() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getBaseStaticDir'); if (!$pluginInfo) { return parent::getBaseStaticDir(); } else { return $this->___callPlugins('getBaseStaticDir', func_get_args(), $pluginInfo); } }