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:
2016-02-25 08:40:53 +00:00
parent 1ad99a3641
commit 24f99e6a69
3 changed files with 24 additions and 24 deletions

View File

@@ -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 ()