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