summaryrefslogtreecommitdiff
path: root/tests/test_tools/unit_tests.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_tools/unit_tests.php')
-rw-r--r--tests/test_tools/unit_tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_tools/unit_tests.php b/tests/test_tools/unit_tests.php
index b494ca05..42faf37a 100644
--- a/tests/test_tools/unit_tests.php
+++ b/tests/test_tools/unit_tests.php
@@ -35,7 +35,7 @@ class TestFolder
$this->subFolders[]=$folder;
}
else if(is_file($fullpath) && (strncmp($entry,'ut',2)===0
- || preg_match('/test.*\.php/', strtolower($entry))))
+ || preg_match('/test.*\.php$/i', $entry)))
{
$this->testFiles[$entry]="$rootUri/$script?target=".strtr(substr($fullpath,strlen($rootPath)+1),"\\",'/');
}