aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/bookmark/BookmarkFileServiceTest.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/bookmark/BookmarkFileServiceTest.php
parentab58f2542072e6bf34acd862f6cfed84b33feb29 (diff)
downloadShaarli-f447edb73b1bcb52e86286467d3ec7b7bdc29948.tar.gz
Shaarli-f447edb73b1bcb52e86286467d3ec7b7bdc29948.tar.zst
Shaarli-f447edb73b1bcb52e86286467d3ec7b7bdc29948.zip
Fix missing @expectedException convertion
Diffstat (limited to 'tests/bookmark/BookmarkFileServiceTest.php')
-rw-r--r--tests/bookmark/BookmarkFileServiceTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/bookmark/BookmarkFileServiceTest.php b/tests/bookmark/BookmarkFileServiceTest.php
index 51e71a85..c399822b 100644
--- a/tests/bookmark/BookmarkFileServiceTest.php
+++ b/tests/bookmark/BookmarkFileServiceTest.php
@@ -637,11 +637,10 @@ class BookmarkFileServiceTest extends TestCase
637 */ 637 */
638 /** 638 /**
639 * Attempt to instantiate a LinkDB whereas the datastore is not writable 639 * Attempt to instantiate a LinkDB whereas the datastore is not writable
640 *
641 * @expectedException Shaarli\Bookmark\Exception\NotWritableDataStoreException
642 */ 640 */
643 public function testConstructDatastoreNotWriteable() 641 public function testConstructDatastoreNotWriteable()
644 { 642 {
643 $this->expectException(\Shaarli\Bookmark\Exception\NotWritableDataStoreException::class);
645 $this->expectExceptionMessageRegExp('#Couldn\'t load data from the data store file "null".*#'); 644 $this->expectExceptionMessageRegExp('#Couldn\'t load data from the data store file "null".*#');
646 645
647 $conf = new ConfigManager('tests/utils/config/configJson'); 646 $conf = new ConfigManager('tests/utils/config/configJson');