Think I hit _all_ of the tests we need to mess with here
This commit is contained in:
@@ -89,6 +89,7 @@ class ImportAssetsTest extends ImportDataTestCase implements TestsPermissionsReq
|
||||
$this->assertEquals($assignee->id, $activityLogs[0]->target_id);
|
||||
$this->assertEquals(User::class, $activityLogs[0]->target_type);
|
||||
$this->assertEquals('Checkout from CSV Importer', $activityLogs[0]->note);
|
||||
$this->assertHasTheseActionLogs($newAsset, ['create', 'checkout']); // TODO - order reversed but passes?!
|
||||
|
||||
$this->assertEquals('create', $activityLogs[1]->action_type);
|
||||
$this->assertNull($activityLogs[1]->target_id);
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Tests\Support;
|
||||
|
||||
use App\Models\Actionlog;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Testing\TestResponse;
|
||||
use PHPUnit\Framework\Assert;
|
||||
|
||||
Reference in New Issue
Block a user