Skip to content

Commit 5197f28

Browse files
committed
MAGETWO-56915: Versioning of static files (CSS, JS, Fonts, Images, etc.) doesn't enabled by default - for mainline
- Updating tests
1 parent 8f130da commit 5197f28

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/integration/testsuite/Magento/Email/Model/TemplateTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function testGetProcessedTemplate()
122122
->getArea(Area::AREA_FRONTEND)
123123
->load();
124124

125-
$expectedViewUrl = 'static/frontend/Magento/blank/en_US/Magento_Theme/favicon.ico';
125+
$expectedViewUrl = '/frontend/Magento/blank/en_US/Magento_Theme/favicon.ico';
126126
$this->model->setDesignConfig([
127127
'area' => 'frontend',
128128
'store' => $this->objectManager->get(\Magento\Store\Model\StoreManagerInterface::class)
@@ -610,7 +610,7 @@ public function testGetDefaultEmailLogo()
610610
->load();
611611

612612
$this->assertStringEndsWith(
613-
'static/frontend/Magento/luma/en_US/Magento_Email/logo_email.png',
613+
'/frontend/Magento/luma/en_US/Magento_Email/logo_email.png',
614614
$this->model->getDefaultEmailLogo()
615615
);
616616
}

dev/tests/integration/testsuite/Magento/Review/Controller/ProductTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ public function testListActionDesign()
1818
$this->getRequest()->setParam('id', $product->getId());
1919
$this->dispatch('review/product/listAction');
2020
$result = $this->getResponse()->getBody();
21-
$this->assertContains("static/frontend/Magento/blank/en_US/Magento_Theme/favicon.ico", $result);
21+
$this->assertContains("/frontend/Magento/blank/en_US/Magento_Theme/favicon.ico", $result);
2222
}
2323
}

0 commit comments

Comments
 (0)