X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/06706a2d9c625cbe7d61df1aa8a71578cbea1684..refs/pull/2902/head:/tests/AuditLogTest.php diff --git a/tests/AuditLogTest.php b/tests/AuditLogTest.php index 55a458786..bc36a184d 100644 --- a/tests/AuditLogTest.php +++ b/tests/AuditLogTest.php @@ -1,18 +1,20 @@ -actingAs( $this->getAdmin()); + $this->actingAs($this->getAdmin()); $page = Page::query()->first(); $pageName = $page->name; $this->activityService->addForEntity($page, ActivityType::PAGE_CREATE); @@ -137,7 +139,5 @@ class AuditLogTest extends TestCase $resp = $this->actingAs($admin)->get('settings/audit?user=' . $editor->id); $resp->assertSeeText($chapter->name); $resp->assertDontSeeText($page->name); - } - -} \ No newline at end of file +}