mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Create additional test helper classes
Following recent similar actions done for entities. Required at this stage to provider better & cleaner helpers for common user and permission actions to built out permission testing.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user