コード例 #1
0
 /**
  * @magentoDbIsolation enabled
  */
 public function testRewriteNonExistingRecordCorrectStore()
 {
     $request = $this->objectManager->create('Magento\\Framework\\App\\RequestInterface');
     $_GET['___from_store'] = $this->objectManager->get('Magento\\Store\\Model\\StoreManagerInterface')->getDefaultStoreView()->getCode();
     $this->assertFalse($this->model->rewrite($request));
 }