diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-07-09 21:07:37 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-07-09 21:46:01 +0200 |
commit | 07b6fa750ba1dc1b7d8c22959b3528f4c9b9ab85 (patch) | |
tree | 22fc07bc69a7c5b8ecf926b129b0d90bd91b78f1 /tests/LinkDBTest.php | |
parent | e92f1ba59edb9fd60b185dc633e64a62dffe3b04 (diff) | |
download | Shaarli-07b6fa750ba1dc1b7d8c22959b3528f4c9b9ab85.tar.gz Shaarli-07b6fa750ba1dc1b7d8c22959b3528f4c9b9ab85.tar.zst Shaarli-07b6fa750ba1dc1b7d8c22959b3528f4c9b9ab85.zip |
LinkDB: prefix private members with an underscore
Relates to #95, #218
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/LinkDBTest.php')
-rw-r--r-- | tests/LinkDBTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
103 | unlink(self::$testDatastore); | 103 | unlink(self::$testDatastore); |
104 | $this->assertFileNotExists(self::$testDatastore); | 104 | $this->assertFileNotExists(self::$testDatastore); |
105 | 105 | ||
106 | $checkDB = self::getMethod('checkDB'); | 106 | $checkDB = self::getMethod('_checkDB'); |
107 | $checkDB->invokeArgs($linkDB, array()); | 107 | $checkDB->invokeArgs($linkDB, array()); |
108 | $this->assertFileExists(self::$testDatastore); | 108 | $this->assertFileExists(self::$testDatastore); |
109 | 109 | ||
@@ -120,7 +120,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase | |||
120 | $datastoreSize = filesize(self::$testDatastore); | 120 | $datastoreSize = filesize(self::$testDatastore); |
121 | $this->assertGreaterThan(0, $datastoreSize); | 121 | $this->assertGreaterThan(0, $datastoreSize); |
122 | 122 | ||
123 | $checkDB = self::getMethod('checkDB'); | 123 | $checkDB = self::getMethod('_checkDB'); |
124 | $checkDB->invokeArgs($linkDB, array()); | 124 | $checkDB->invokeArgs($linkDB, array()); |
125 | 125 | ||
126 | // ensure the datastore is left unmodified | 126 | // ensure the datastore is left unmodified |