]> BookStack Code Mirror - bookstack/blobdiff - tests/Actions/AuditLogTest.php
Quick run through of applying new test entity helper class
[bookstack] / tests / Actions / AuditLogTest.php
index f4eebb364fdcc3d79caf5ea52e0b8754a7f3ebd9..987e23a45bd42f917ceb2c741168021e6b5c5b51 100644 (file)
@@ -6,8 +6,6 @@ use BookStack\Actions\Activity;
 use BookStack\Actions\ActivityLogger;
 use BookStack\Actions\ActivityType;
 use BookStack\Auth\UserRepo;
-use BookStack\Entities\Models\Chapter;
-use BookStack\Entities\Models\Page;
 use BookStack\Entities\Repos\PageRepo;
 use BookStack\Entities\Tools\TrashCan;
 use Carbon\Carbon;
@@ -15,8 +13,7 @@ use Tests\TestCase;
 
 class AuditLogTest extends TestCase
 {
-    /** @var ActivityLogger */
-    protected $activityService;
+    protected ActivityLogger $activityService;
 
     protected function setUp(): void
     {