[FOLLOWUP][TASK] Bower component & javascript inclusion cleanup 20/38320/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Sat, 28 Mar 2015 11:09:13 +0000 (12:09 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sat, 28 Mar 2015 11:11:42 +0000 (12:11 +0100)
Fix broken functional tests.

Resolves: #66108
Releases: master
Change-Id: I99e2d9ed08cda3a214909b1f33c4096f8bb33e52
Reviewed-on: http://review.typo3.org/38320
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php

index fb6d140..92c6910 100644 (file)
@@ -78,7 +78,7 @@ class PageRendererTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
                $subject->addCssInlineBlock('general2', 'body {margin:20px;}');
                $subject->addCssInlineBlock('general3', 'h1 {margin:20px;}', NULL, TRUE);
 
-               $expectedLoadPrototypeRegExp = '#<script src="contrib/prototype/prototype\\.(js|\\d+\\.js|js\\?\\d+)" type="text/javascript"></script>#';
+               $expectedLoadPrototypeRegExp = '#<script src="sysext/core/Resources/Public/JavaScript/Contrib/prototype\\.(js|\\d+\\.js|js\\?\\d+)" type="text/javascript"></script>#';
                $subject->loadPrototype();
 
                $subject->loadScriptaculous('slider,controls');