Merge pull request #1419 from ataylor32/fix-helper-test

Fix the "testAssetUrlNoRewrite" test
This commit is contained in:
Mark Story 2013-07-14 05:36:33 -07:00
commit c7e4076770

View file

@ -674,7 +674,8 @@ class HelperTest extends CakeTestCase {
'here' => '/cake_dev/index.php/tasks',
));
$result = $this->Helper->assetUrl('img/cake.icon.png', array('fullBase' => true));
$this->assertEquals('http://localhost/cake_dev/app/webroot/img/cake.icon.png', $result);
$expected = FULL_BASE_URL . '/cake_dev/app/webroot/img/cake.icon.png';
$this->assertEquals($expected, $result);
}
/**