]> BookStack Code Mirror - bookstack/blobdiff - tests/Commands/ClearActivityCommandTest.php
Applied shelf book sort changes from testing
[bookstack] / tests / Commands / ClearActivityCommandTest.php
index cf2fba0d670e8a5e8a8f6a7ce4515a8bd83590dd..b2624e23df285ca133ed72c6abee140ca4a93ca8 100644 (file)
@@ -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();