Update unit tests : $this->assertEquals -> $this->assertSame
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2563 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -38,7 +38,7 @@ class test_cachefile extends PHPUnit_Framework_TestCase
|
||||
$c = new cachefile ();
|
||||
$c->directory = "/tmp/cache";
|
||||
$res = $c->read ("id");
|
||||
$this->assertEquals ("DATA_TO_STORE", $res);
|
||||
$this->assertSame ("DATA_TO_STORE", $res);
|
||||
}
|
||||
|
||||
// Sleep 3s to expire the cache
|
||||
@@ -77,7 +77,7 @@ class test_cachefile extends PHPUnit_Framework_TestCase
|
||||
$c = new cachefile ();
|
||||
$c->directory = "/tmp/cache";
|
||||
$res = $c->read ("id");
|
||||
$this->assertEquals ("DATA_TO_STORE", $res);
|
||||
$this->assertSame ("DATA_TO_STORE", $res);
|
||||
}
|
||||
|
||||
public function testDel1 ()
|
||||
|
||||
Reference in New Issue
Block a user