1
0
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:
Dan Brown
2020-11-07 23:15:13 +00:00
parent c157dc3490
commit ee7e1122d3
10 changed files with 51 additions and 40 deletions

View File

@ -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',