Commit 7b335650 authored by Jonathan's avatar Jonathan

fix for bug in assertLayoutFileExistsInTheme where path is relative

parent 4417a0e5
...@@ -46,7 +46,7 @@ class EcomDev_PHPUnit_Model_Design_Package ...@@ -46,7 +46,7 @@ class EcomDev_PHPUnit_Model_Design_Package
'_package' => $expectedDesignPackage '_package' => $expectedDesignPackage
); );
$expectedFileName = Mage::getBaseDir('design') . DS . $this->_renderFilename($fileName, $params); $expectedFileName = $this->_renderFilename($fileName, $params);
} else { } else {
$expectedFileName = $actualFileName; $expectedFileName = $actualFileName;
if (!file_exists($actualFileName)) { if (!file_exists($actualFileName)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment