create(); $actionLogs = Actionlog::whereMorphedTo('item', ReportTemplate::class)->get(); // should be created when ActionLog is created $this->assertCount(1, $actionLogs); $results = (new ActionlogsTransformer())->transformActionlogs($actionLogs, 10); $this->assertArrayHasKey('rows', $results); $this->assertCount(1, $results['rows']); } public function testLogEntryForUpdatingReportTemplateCanBeDisplayedTransformed() { $this->markTestIncomplete(); } public function testLogEntryForDeletingReportTemplateCanBeDisplayedTransformed() { $this->markTestIncomplete(); } public function testLogsScopedProperly() { $this->markTestIncomplete(); } }