X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/2431ce9f86cdbba5bbd7b179e3ab4cd66b6a1b77..refs/pull/2902/head:/tests/Entity/MarkdownTest.php diff --git a/tests/Entity/MarkdownTest.php b/tests/Entity/MarkdownTest.php index 03f3aa12f..7de7ea11b 100644 --- a/tests/Entity/MarkdownTest.php +++ b/tests/Entity/MarkdownTest.php @@ -1,13 +1,17 @@ page = \BookStack\Page::first(); + $this->page = \BookStack\Entities\Models\Page::first(); } protected function setMarkdownEditor() @@ -21,7 +25,7 @@ class MarkdownTest extends BrowserKitTest $this->asAdmin()->visit($this->page->getUrl() . '/edit') ->pageHasElement('#html-editor'); } - + public function test_markdown_setting_shows_markdown_editor() { $this->setMarkdownEditor(); @@ -46,5 +50,4 @@ class MarkdownTest extends BrowserKitTest $this->asAdmin()->visit($this->page->getUrl() . '/edit') ->seeInField('markdown', $this->page->html); } - -} \ No newline at end of file +}