Skip to content

Commit 718f8d7

Browse files
committed
tests: do not skip errors in Tester\Environment::loadData (like "Cannot parse data-provider file")
1 parent 6772bf4 commit 718f8d7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/Database/connect.inc.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77
require __DIR__ . '/../bootstrap.php';
88

99

10-
try {
11-
$options = Tester\Environment::loadData() + ['user' => NULL, 'password' => NULL];
12-
} catch (Exception $e) {
13-
Tester\Environment::skip($e->getMessage());
14-
}
10+
$options = Tester\Environment::loadData() + ['user' => NULL, 'password' => NULL];
1511

1612
try {
1713
$connection = new Nette\Database\Connection($options['dsn'], $options['user'], $options['password']);

0 commit comments

Comments
 (0)