]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/BookTest.php
respective book and chapter structure added.
[bookstack] / tests / Entity / BookTest.php
index 04dff293facd20805e1281b4264f8808470c902e..51bf65d10bb29d92668fd80bfb1614688cf73c83 100644 (file)
@@ -266,8 +266,8 @@ class BookTest extends TestCase
     {
         $book = $this->entities->book();
 
-        $input = '<h1>Test</h1><p id="abc" href="beans">Content<a href="#cat" data-a="b">a</a><section>Hello</section></p>';
-        $expected = '<p>Content<a href="#cat">a</a></p>';
+        $input = '<h1>Test</h1><p id="abc" href="beans">Content<a href="#cat" target="_blank" data-a="b">a</a><section>Hello</section></p>';
+        $expected = '<p>Content<a href="#cat" target="_blank">a</a></p>';
 
         $this->asEditor()->put($book->getUrl(), [
             'name' => $book->name,