mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Removed use of book_id in activity
This commit is contained in:
@ -38,7 +38,7 @@ class CommandsTest extends TestCase
|
||||
{
|
||||
$this->asEditor();
|
||||
$page = Page::first();
|
||||
\Activity::add($page, ActivityType::PAGE_UPDATE, $page->book->id);
|
||||
\Activity::addForEntity($page, ActivityType::PAGE_UPDATE);
|
||||
|
||||
$this->assertDatabaseHas('activities', [
|
||||
'key' => 'page_update',
|
||||
|
Reference in New Issue
Block a user