]> BookStack Code Mirror - bookstack/blobdiff - tests/Commands/ClearActivityCommandTest.php
Update PWA manifest orientation to any
[bookstack] / tests / Commands / ClearActivityCommandTest.php
index cf2fba0d670e8a5e8a8f6a7ce4515a8bd83590dd..410a39aa870e60209c0712e4826122dd9c42890d 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;
@@ -19,7 +19,7 @@ class ClearActivityCommandTest extends TestCase
         $this->assertDatabaseHas('activities', [
             'type'      => 'page_update',
             'entity_id' => $page->id,
-            'user_id'   => $this->getEditor()->id,
+            'user_id'   => $this->users->editor()->id,
         ]);
 
         DB::rollBack();