]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/PageDraftTest.php
Added "page_include_parse" theme event
[bookstack] / tests / Entity / PageDraftTest.php
index 6fd9a7f7017ebd13a13a68413ecb8e3563cf8bc1..8ca73847af51388bc4f1d0c2738edddb68953294 100644 (file)
@@ -215,7 +215,7 @@ class PageDraftTest extends TestCase
 
         $this->put('/ajax/page/' . $draft->id . '/save-draft', [
             'name'     => 'My page',
-            'markdown' => "Update test",
+            'markdown' => 'Update test',
         ])->assertOk();
 
         $draft->refresh();
@@ -223,7 +223,7 @@ class PageDraftTest extends TestCase
 
         $this->post($draft->getUrl(), [
             'name'     => 'My page',
-            'markdown' => "# My markdown page"
+            'markdown' => '# My markdown page',
         ]);
 
         $this->assertDatabaseHas('pages', [