aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/bookmark/BookmarkFileServiceTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-29 14:41:40 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-29 18:57:20 +0200
commita5a9cf23acd1248585173aa32757d9720b5f2d62 (patch)
tree5b443e09fc0f84db0cb478cda0c88c10346b0843 /tests/bookmark/BookmarkFileServiceTest.php
parent2b7a7bc928fb7fc171138e248d3aa1d86d5b62f9 (diff)
downloadShaarli-a5a9cf23acd1248585173aa32757d9720b5f2d62.tar.gz
Shaarli-a5a9cf23acd1248585173aa32757d9720b5f2d62.tar.zst
Shaarli-a5a9cf23acd1248585173aa32757d9720b5f2d62.zip
Compatibility with PHPUnit 9
Diffstat (limited to 'tests/bookmark/BookmarkFileServiceTest.php')
-rw-r--r--tests/bookmark/BookmarkFileServiceTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bookmark/BookmarkFileServiceTest.php b/tests/bookmark/BookmarkFileServiceTest.php
index 9cff0fb3..51e71a85 100644
--- a/tests/bookmark/BookmarkFileServiceTest.php
+++ b/tests/bookmark/BookmarkFileServiceTest.php
@@ -6,7 +6,6 @@
6namespace Shaarli\Bookmark; 6namespace Shaarli\Bookmark;
7 7
8use DateTime; 8use DateTime;
9use PHPUnit\Framework\TestCase;
10use ReferenceLinkDB; 9use ReferenceLinkDB;
11use ReflectionClass; 10use ReflectionClass;
12use Shaarli; 11use Shaarli;
@@ -14,6 +13,7 @@ use Shaarli\Bookmark\Exception\BookmarkNotFoundException;
14use Shaarli\Config\ConfigManager; 13use Shaarli\Config\ConfigManager;
15use Shaarli\Formatter\BookmarkMarkdownFormatter; 14use Shaarli\Formatter\BookmarkMarkdownFormatter;
16use Shaarli\History; 15use Shaarli\History;
16use Shaarli\TestCase;
17 17
18/** 18/**
19 * Unitary tests for LegacyLinkDBTest 19 * Unitary tests for LegacyLinkDBTest
@@ -748,7 +748,7 @@ class BookmarkFileServiceTest extends TestCase
748 $link = $this->publicLinkDB->findByUrl('http://mediagoblin.org/'); 748 $link = $this->publicLinkDB->findByUrl('http://mediagoblin.org/');
749 749
750 $this->assertNotEquals(false, $link); 750 $this->assertNotEquals(false, $link);
751 $this->assertContains( 751 $this->assertContainsPolyfill(
752 'A free software media publishing platform', 752 'A free software media publishing platform',
753 $link->getDescription() 753 $link->getDescription()
754 ); 754 );