aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/legacy/LegacyLinkDBTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-29 18:41:21 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-29 18:57:25 +0200
commitf447edb73b1bcb52e86286467d3ec7b7bdc29948 (patch)
tree3cd7f6ddc4e227f901fb8bd11d75d6307c713b1a /tests/legacy/LegacyLinkDBTest.php
parentab58f2542072e6bf34acd862f6cfed84b33feb29 (diff)
downloadShaarli-f447edb73b1bcb52e86286467d3ec7b7bdc29948.tar.gz
Shaarli-f447edb73b1bcb52e86286467d3ec7b7bdc29948.tar.zst
Shaarli-f447edb73b1bcb52e86286467d3ec7b7bdc29948.zip
Fix missing @expectedException convertion
Diffstat (limited to 'tests/legacy/LegacyLinkDBTest.php')
-rw-r--r--tests/legacy/LegacyLinkDBTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/legacy/LegacyLinkDBTest.php b/tests/legacy/LegacyLinkDBTest.php
index 66746dfc..df2cad62 100644
--- a/tests/legacy/LegacyLinkDBTest.php
+++ b/tests/legacy/LegacyLinkDBTest.php
@@ -99,11 +99,10 @@ class LegacyLinkDBTest extends \Shaarli\TestCase
99 99
100 /** 100 /**
101 * Attempt to instantiate a LinkDB whereas the datastore is not writable 101 * Attempt to instantiate a LinkDB whereas the datastore is not writable
102 *
103 * @expectedException Shaarli\Exceptions\IOException
104 */ 102 */
105 public function testConstructDatastoreNotWriteable() 103 public function testConstructDatastoreNotWriteable()
106 { 104 {
105 $this->expectException(\Shaarli\Exceptions\IOException::class);
107 $this->expectExceptionMessageRegExp('/Error accessing "null"/'); 106 $this->expectExceptionMessageRegExp('/Error accessing "null"/');
108 107
109 new LegacyLinkDB('null/store.db', false, false); 108 new LegacyLinkDB('null/store.db', false, false);