]> BookStack Code Mirror - bookstack/blobdiff - tests/ThemeTest.php
Images: Prevented base64 extraction without permission
[bookstack] / tests / ThemeTest.php
index 53361e35194dad7b8fdec639373cc1a673bdfdd4..f6706595bf273015c663ba637fc5f43cdb8f42a2 100644 (file)
@@ -78,7 +78,7 @@ class ThemeTest extends TestCase
 
         $page = $this->entities->page();
         $content = new PageContent($page);
-        $content->setNewMarkdown('# test');
+        $content->setNewMarkdown('# test', $this->users->editor());
 
         $this->assertTrue($callbackCalled);
     }