mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Moved js unit tests from sapphire/javascript/tests to sapphire/tests/javascript to have a consistent location for all tests on server- and clientside
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65019 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
50ea85d47a
commit
f05f6d34b7
@ -149,7 +149,7 @@ class JSTestRunner extends Controller {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$testDir = "$baseDir/$moduleFileOrFolder/javascript/tests";
|
$testDir = "$baseDir/$moduleFileOrFolder/tests/javascript";
|
||||||
if(@is_dir($testDir)) {
|
if(@is_dir($testDir)) {
|
||||||
$tests = scandir($testDir);
|
$tests = scandir($testDir);
|
||||||
foreach($tests as $testFile) {
|
foreach($tests as $testFile) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user