From: Dan Brown Date: Sat, 26 Aug 2017 13:41:46 +0000 (+0100) Subject: Resolved current failing tests X-Git-Tag: v0.18.0~1^2~26^2~3 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/2f8b8c580d9cc2468ba0a299a20f1259aad4f4bb Resolved current failing tests --- diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php index bd2580a66..121f6f38e 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -82,7 +82,7 @@

{{ trans('common.details') }}

- @include('partials.entity-meta', ['entity' => $book]) + @include('partials.entity-meta', ['entity' => $page])
@stop diff --git a/tests/Entity/EntityTest.php b/tests/Entity/EntityTest.php index ef5ea3aee..07f1926c5 100644 --- a/tests/Entity/EntityTest.php +++ b/tests/Entity/EntityTest.php @@ -257,11 +257,4 @@ class EntityTest extends BrowserKitTest ->seeInElement('#recently-updated-pages', $page->name); } - public function test_recently_created_pages_on_home() - { - $entityChain = $this->createEntityChainBelongingToUser($this->getEditor()); - $this->asAdmin()->visit('/') - ->seeInElement('#recently-created-pages', $entityChain['page']->name); - } - }