X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fbookmark%2FLinkUtilsTest.php;h=78cb8f2abda69c07b26e9bfe54d7c508eec5ec40;hb=bd1adc8df6138f7fda9a50e92702941da85de50c;hp=1b8688e6d398fc1381e6b2acc586ae2562c282f2;hpb=ff3b5dc5542ec150f0d9b447394364a15e9156d0;p=github%2Fshaarli%2FShaarli.git
diff --git a/tests/bookmark/LinkUtilsTest.php b/tests/bookmark/LinkUtilsTest.php
index 1b8688e6..78cb8f2a 100644
--- a/tests/bookmark/LinkUtilsTest.php
+++ b/tests/bookmark/LinkUtilsTest.php
@@ -2,14 +2,16 @@
namespace Shaarli\Bookmark;
+use PHPUnit\Framework\TestCase;
use ReferenceLinkDB;
+use Shaarli\Config\ConfigManager;
require_once 'tests/utils/CurlUtils.php';
/**
* Class LinkUtilsTest.
*/
-class LinkUtilsTest extends \PHPUnit\Framework\TestCase
+class LinkUtilsTest extends TestCase
{
/**
* Test html_extract_title() when the title is found.
@@ -75,12 +77,57 @@ class LinkUtilsTest extends \PHPUnit\Framework\TestCase
$this->assertFalse(html_extract_charset($html));
}
+ /**
+ * Test html_extract_tag() when the tag stuff2