aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/LinkDBTest.php
diff options
context:
space:
mode:
authorVirtualTam <tamisier.aurelien@gmail.com>2015-07-10 17:43:00 +0200
committerVirtualTam <tamisier.aurelien@gmail.com>2015-07-10 17:43:00 +0200
commit49ca75695019865a3c57323a1d5c3c8c62ca124f (patch)
tree22fc07bc69a7c5b8ecf926b129b0d90bd91b78f1 /tests/LinkDBTest.php
parente92f1ba59edb9fd60b185dc633e64a62dffe3b04 (diff)
parent07b6fa750ba1dc1b7d8c22959b3528f4c9b9ab85 (diff)
downloadShaarli-49ca75695019865a3c57323a1d5c3c8c62ca124f.tar.gz
Shaarli-49ca75695019865a3c57323a1d5c3c8c62ca124f.tar.zst
Shaarli-49ca75695019865a3c57323a1d5c3c8c62ca124f.zip
Merge pull request #267 from virtualtam/linkdb/private-names
LinkDB: prefix private members with an underscore
Diffstat (limited to 'tests/LinkDBTest.php')
-rw-r--r--tests/LinkDBTest.php4
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