mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 03:52:41 +00:00
Merge pull request #1419 from ataylor32/fix-helper-test
Fix the "testAssetUrlNoRewrite" test
This commit is contained in:
commit
c7e4076770
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue