From 7a3bad0934d8c493d9e3087f4cd9475f99fdb48e Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Mon, 14 Mar 2016 10:18:37 +0000 Subject: [PATCH] Update Tests to allow them to be parrallelized git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2675 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- Tests/dblayerComplet.php | 2 +- Tests/dblayerauthzgroupsTest.php | 4 ++-- domphptests.ini | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Tests/dblayerComplet.php b/Tests/dblayerComplet.php index 55456ea..cb2a915 100644 --- a/Tests/dblayerComplet.php +++ b/Tests/dblayerComplet.php @@ -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, diff --git a/Tests/dblayerauthzgroupsTest.php b/Tests/dblayerauthzgroupsTest.php index e9192de..42c9916 100644 --- a/Tests/dblayerauthzgroupsTest.php +++ b/Tests/dblayerauthzgroupsTest.php @@ -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 () diff --git a/domphptests.ini b/domphptests.ini index b7f88d3..e52a6a2 100644 --- a/domphptests.ini +++ b/domphptests.ini @@ -1,3 +1,4 @@ +time = true color = true bootstrap = "Tests/autoload.php.dist" testfiles[] = "Tests/*Test.php"