From 07b6fa750ba1dc1b7d8c22959b3528f4c9b9ab85 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Thu, 9 Jul 2015 21:07:37 +0200 Subject: LinkDB: prefix private members with an underscore Relates to #95, #218 Signed-off-by: VirtualTam --- tests/LinkDBTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/LinkDBTest.php') diff --git a/tests/LinkDBTest.php b/tests/LinkDBTest.php index 8b0bd23b..d34ea4f5 100644 --- a/tests/LinkDBTest.php +++ b/tests/LinkDBTest.php @@ -103,7 +103,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); @@ -120,7 +120,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 -- cgit v1.2.3