Skip to content

Commit 1b31cd1

Browse files
committed
Improve error message
1 parent 857a040 commit 1b31cd1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/TestBase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ abstract class TestBase extends \PHPUnit_Framework_TestCase
66
public static function setUpBeforeClass()
77
{
88
$name = static::getEngineName();
9+
if (!class_exists('Mevdschee\PhpCrudApi\Tests\Config')) {
10+
die("Configuration in 'Config.php' not found.\n");
11+
}
912
if (!Config::$config || !isset(Config::$config[$name])) {
1013
self::markTestSkipped("Configuration in 'Config.php' not found.");
1114
}

0 commit comments

Comments
 (0)