]> BookStack Code Mirror - bookstack/blobdiff - tests/Commands/ClearActivityCommandTest.php
Opensearch: Fixed XML declaration when php short tags enabled
[bookstack] / tests / Commands / ClearActivityCommandTest.php
index b2624e23df285ca133ed72c6abee140ca4a93ca8..a3d7456b68ebf427b6597d5cfbfacde0de06fc0e 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Tests\Commands;
 
-use BookStack\Actions\ActivityType;
+use BookStack\Activity\ActivityType;
 use BookStack\Facades\Activity;
 use Illuminate\Support\Facades\Artisan;
 use Illuminate\Support\Facades\DB;
@@ -18,7 +18,7 @@ class ClearActivityCommandTest extends TestCase
 
         $this->assertDatabaseHas('activities', [
             'type'      => 'page_update',
-            'entity_id' => $page->id,
+            'loggable_id' => $page->id,
             'user_id'   => $this->users->editor()->id,
         ]);