Skip to content

NOW MANAGED ON CODEBERG

Resolved current failing tests

Dan Brown2f8b8c580d9c
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 @@
<div class="card">
<h3><i class="zmdi zmdi-info-outline"></i> {{ trans('common.details') }}</h3>
<div class="body">
- @include('partials.entity-meta', ['entity' => $book])
+ @include('partials.entity-meta', ['entity' => $page])
</div>
</div>
@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);
- }
-
}