LinkDB: do not prefix privates with an underscore
Relates to #95 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
parent
fb6c8f770a
commit
628b97cbdf
2 changed files with 69 additions and 69 deletions
tests
|
@ -117,7 +117,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase
|
|||
unlink(self::$testDatastore);
|
||||
$this->assertFileNotExists(self::$testDatastore);
|
||||
|
||||
$checkDB = self::getMethod('_checkDB');
|
||||
$checkDB = self::getMethod('checkDB');
|
||||
$checkDB->invokeArgs($linkDB, array());
|
||||
$this->assertFileExists(self::$testDatastore);
|
||||
|
||||
|
@ -134,7 +134,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase
|
|||
$datastoreSize = filesize(self::$testDatastore);
|
||||
$this->assertGreaterThan(0, $datastoreSize);
|
||||
|
||||
$checkDB = self::getMethod('_checkDB');
|
||||
$checkDB = self::getMethod('checkDB');
|
||||
$checkDB->invokeArgs($linkDB, array());
|
||||
|
||||
// ensure the datastore is left unmodified
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue