diff --git a/tests/unit/framework/web/AssetBundleTest.php b/tests/unit/framework/web/AssetBundleTest.php index ce33ce7..6fa6238 100644 --- a/tests/unit/framework/web/AssetBundleTest.php +++ b/tests/unit/framework/web/AssetBundleTest.php @@ -48,8 +48,7 @@ class AssetBundleTest extends \yiiunit\TestCase $this->assertTrue($view->assetBundles['yiiunit\\framework\\web\\TestSimpleAsset'] instanceof AssetBundle); $expected = << -4 +1234 EOF; $this->assertEquals($expected, $view->renderFile('@yiiunit/data/views/rawlayout.php')); } @@ -69,10 +68,8 @@ EOF; $this->assertTrue($view->assetBundles['yiiunit\\framework\\web\\TestAssetLevel3'] instanceof AssetBundle); $expected = << -23 - -4 +123 +4 EOF; $this->assertEquals($expected, $view->renderFile('@yiiunit/data/views/rawlayout.php')); } @@ -129,25 +126,20 @@ EOF; $expected = << - -234 +234 EOF; break; case View::POS_BEGIN: $expected = << -2 - -34 +12 +34 EOF; break; default: case View::POS_END: $expected = << -23 - -4 +123 +4 EOF; break; }