Skip to content

Commit b432f99

Browse files
author
alejandromarcu
committed
Fixed requires
1 parent 8349601 commit b432f99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/CodegenSimpleTester.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class CodegenSimpleTester {
2828
* Run all the tests. Return true if they all succeeded.
2929
*/
3030
public static function run(): bool {
31-
$files = glob('test/*.php');
31+
$files = glob(__DIR__.'/*.php');
3232
$fail_count = 0;
3333
foreach ($files as $file) {
3434
$classes = get_declared_classes();

test/run_tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
*/
1010

1111
require_once('vendor/autoload.php');
12-
require_once('test/CodegenSimpleTester.php');
12+
require_once('CodegenSimpleTester.php');
1313
$success = CodegenSimpleTester::run();
1414
exit($success ? 0 : 1);

0 commit comments

Comments
 (0)