Update Tests to allow them to be parrallelized
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2675 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -12,7 +12,7 @@ class test_dblayer_{ENGINE} extends PHPUnit_Framework_TestCase
|
||||
public $engine="{ENGINE}";
|
||||
public $confs = array (
|
||||
"sqlite" => array (
|
||||
"dsn" => "sqlite:/tmp/database.db",
|
||||
"dsn" => "sqlite:/tmp/databaseDBLayer.db",
|
||||
"username" => null,
|
||||
"password" => null,
|
||||
"driver_options" => null,
|
||||
|
||||
@@ -16,8 +16,8 @@ class test_dblayerauthzgroups_sqlite extends PHPUnit_Framework_TestCase
|
||||
|
||||
public function test_delDB ()
|
||||
{
|
||||
if (file_exists ("/tmp/database.db"))
|
||||
unlink ("/tmp/database.db");
|
||||
if (file_exists ("/tmp/databaseAuthz.db"))
|
||||
unlink ("/tmp/databaseAuthz.db");
|
||||
}
|
||||
|
||||
public function test_createTablesAuthzgroups ()
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
time = true
|
||||
color = true
|
||||
bootstrap = "Tests/autoload.php.dist"
|
||||
testfiles[] = "Tests/*Test.php"
|
||||
|
||||
Reference in New Issue
Block a user