X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fbookmark%2FLinkUtilsTest.php;h=7d4a7b89a20131d9827112ffbd85fb905c1dffd3;hb=72caf4e84c412ab6a4181b83a96dbef8ebb3c65a;hp=25fb30435c8ef09c91623f6b416c1b6300ff459e;hpb=cc69aad4a903dc603f47cfa87aeb1865b03c8950;p=github%2Fshaarli%2FShaarli.git
diff --git a/tests/bookmark/LinkUtilsTest.php b/tests/bookmark/LinkUtilsTest.php
index 25fb3043..7d4a7b89 100644
--- a/tests/bookmark/LinkUtilsTest.php
+++ b/tests/bookmark/LinkUtilsTest.php
@@ -2,14 +2,14 @@
namespace Shaarli\Bookmark;
-use ReferenceLinkDB;
+use PHPUnit\Framework\TestCase;
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 +75,57 @@ class LinkUtilsTest extends \PHPUnit\Framework\TestCase
$this->assertFalse(html_extract_charset($html));
}
+ /**
+ * Test html_extract_tag() when the tag stuff2