We don't want to auto run these tests as we need to load and setup things first.
This commit is contained in:
parent
a5907c5a79
commit
0013ef923e
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
* @copyright Copyright (c) 2014, jgen
|
* @copyright Copyright (c) 2014, jgen
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once('lib/simpletest/autorun.php');
|
//require_once('lib/simpletest/autorun.php');
|
||||||
require_once('lib/simpletest/unit_tester.php');
|
require_once('lib/simpletest/unit_tester.php');
|
||||||
require_once('lib/simpletest/web_tester.php');
|
require_once('lib/simpletest/web_tester.php');
|
||||||
require_once('lib/simpletest/reporter.php');
|
require_once('lib/simpletest/reporter.php');
|
||||||
|
@ -55,7 +55,7 @@ send_event(new UserCreationEvent("demo", "demo", ""));
|
||||||
send_event(new UserCreationEvent("test", "test", ""));
|
send_event(new UserCreationEvent("test", "test", ""));
|
||||||
|
|
||||||
// Run all the tests
|
// Run all the tests
|
||||||
$all = new TestFinder();
|
$all = new TestFinder("");
|
||||||
$all->run(new TextReporter());
|
$all->run(new TextReporter());
|
||||||
|
|
||||||
// Is this really needed?
|
// Is this really needed?
|
||||||
|
|
Reference in a new issue