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); - } - }