]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/PageEditorTest.php
Updated attachment links to have dropdown for open type
[bookstack] / tests / Entity / PageEditorTest.php
index 3fe7b33cd594a2279504a32029b521bb525f43a2..d4e5654359860098dfaf3fbd3008390ac53231d9 100644 (file)
@@ -128,7 +128,7 @@ class PageEditorTest extends TestCase
 
         $resp = $this->asAdmin()->get($page->getUrl('/edit?editor=markdown-stable'));
         $resp->assertStatus(200);
-        $resp->assertSee("<h2>A Header</h2><p>Some <strong>bold</strong> content.</p>", true);
+        $resp->assertSee('<h2>A Header</h2><p>Some <strong>bold</strong> content.</p>', true);
         $resp->assertElementExists('[component="markdown-editor"]');
     }
 
@@ -202,5 +202,4 @@ class PageEditorTest extends TestCase
         $this->asEditor()->put($page->getUrl(), ['name' => $page->name, 'markdown' => '## Updated content abc']);
         $this->assertEquals('wysiwyg', $page->refresh()->editor);
     }
-
 }