X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/0775cd09a152c6e05c100139812f1fc35cb1ac6a..cd6572b61af2165133468d2562d04dffdca8fca8:/tests/Entity/SortTest.php diff --git a/tests/Entity/SortTest.php b/tests/Entity/SortTest.php index d78b94479..4784297a2 100644 --- a/tests/Entity/SortTest.php +++ b/tests/Entity/SortTest.php @@ -13,8 +13,8 @@ class SortTest extends TestCase public function test_drafts_do_not_show_up() { $this->asAdmin(); - $pageRepo = app('\BookStack\Repos\PageRepo'); - $draft = $pageRepo->getDraftPage($this->book); + $entityRepo = app('\BookStack\Repos\EntityRepo'); + $draft = $entityRepo->getDraftPage($this->book); $this->visit($this->book->getUrl()) ->see($draft->name)