Update tests to remove the dependancy to configuration
Change the databases to be unique by test file git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2670 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -94,7 +94,7 @@ class test_dblayer_{ENGINE} extends PHPUnit_Framework_TestCase
|
||||
"where"=>"\$'\"",
|
||||
"with space"=>"with space"));
|
||||
// SQLite start at 1, MySQL start at 0...
|
||||
$this->assertThat($res, $this->lessThanOrEqual(1));
|
||||
$this->assertLessThanOrEqual ($res, 1);
|
||||
}
|
||||
|
||||
public function test_read1 ()
|
||||
@@ -267,7 +267,7 @@ class test_dblayer_{ENGINE} extends PHPUnit_Framework_TestCase
|
||||
"with space"=>"with space"));
|
||||
$db->disconnect ();
|
||||
// SQLite start at 1, MySQL start at 0...
|
||||
$this->assertThat($res, $this->lessThanOrEqual(2));
|
||||
$this->assertLessThanOrEqual ($res, 2);
|
||||
}
|
||||
|
||||
// Test the unique feature
|
||||
|
||||
Reference in New Issue
Block a user