Fix the tests again

This commit is contained in:
Joas Schilling 2016-05-25 16:51:02 +02:00
parent b9a26bca3b
commit 2c0743c46b
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946
5 changed files with 7 additions and 4 deletions

View File

@ -112,6 +112,6 @@ class IntegrationTestBackupServer extends AbstractIntegrationTest {
} }
require_once(__DIR__ . '/../setup-scripts/config.php'); require_once(__DIR__ . '/../setup-scripts/config.php');
$test = new IntegrationBackupServer($host, $port, $adn, $apwd, $bdn); $test = new IntegrationTestBackupServer($host, $port, $adn, $apwd, $bdn);
$test->init(); $test->init();
$test->run(); $test->run();

View File

@ -160,6 +160,6 @@ class IntegrationTestConnect extends AbstractIntegrationTest {
} }
require_once(__DIR__ . '/../setup-scripts/config.php'); require_once(__DIR__ . '/../setup-scripts/config.php');
$test = new IntegrationConnect($host, $port, $adn, $apwd, $bdn); $test = new IntegrationTestConnect($host, $port, $adn, $apwd, $bdn);
$test->init(); $test->init();
$test->run(); $test->run();

View File

@ -60,6 +60,6 @@ class IntegrationTestCountUsersByLoginName extends AbstractIntegrationTest {
} }
require_once(__DIR__ . '/../setup-scripts/config.php'); require_once(__DIR__ . '/../setup-scripts/config.php');
$test = new IntegrationTestUserHome($host, $port, $adn, $apwd, $bdn); $test = new IntegrationTestCountUsersByLoginName($host, $port, $adn, $apwd, $bdn);
$test->init(); $test->init();
$test->run(); $test->run();

View File

@ -73,6 +73,6 @@ class IntegrationTestFetchUsersByLoginName extends AbstractIntegrationTest {
} }
require_once(__DIR__ . '/../setup-scripts/config.php'); require_once(__DIR__ . '/../setup-scripts/config.php');
$test = new IntegrationTestUserHome($host, $port, $adn, $apwd, $bdn); $test = new IntegrationTestFetchUsersByLoginName($host, $port, $adn, $apwd, $bdn);
$test->init(); $test->init();
$test->run(); $test->run();

View File

@ -10,6 +10,9 @@ function loadDirectory($path) {
if (strpos($path, 'integration')) { if (strpos($path, 'integration')) {
return; return;
} }
if (strpos($path, 'Integration')) {
return;
}
if ($dh = opendir($path)) { if ($dh = opendir($path)) {
while ($name = readdir($dh)) { while ($name = readdir($dh)) {
if ($name[0] !== '.') { if ($name[0] !== '.') {