Skip to content

Commit 5b61be2

Browse files
author
Mykhailo Miroshnikov
committed
MAGETWO-35118: JavaScript Unit Test Framework supports theme feature
- Fix JsTestDriver configs to adjust to the new file structure
1 parent e80821a commit 5b61be2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/js/JsTestDriver/jsTestDriver.php.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ return array(
3333
'/lib/web/mage/gallery-fullscreen.js',
3434
'/lib/web/mage/zoom.js',
3535
),
36-
'test' => array('/dev/tests/js/testsuite'),
36+
'test' => array('/dev/tests/js/JsTestDriver/testsuite'),
3737
'JsTestDriver' => '{{path_to_jstestdriver_jar}}'
3838
);

dev/tests/js/JsTestDriver/run_js_tests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* See COPYING.txt for license details.
77
*/
88

9-
define('RELATIVE_APP_ROOT', '../../..');
10-
require __DIR__ . '/../../../app/autoload.php';
9+
define('RELATIVE_APP_ROOT', '../../../..');
10+
require __DIR__ . '/../../../../app/autoload.php';
1111

1212
$userConfig = normalize('jsTestDriver.php');
1313
$defaultConfig = normalize('jsTestDriver.php.dist');

0 commit comments

Comments
 (0)