Think I hit _all_ of the tests we need to mess with here

This commit is contained in:
Brady Wetherington
2025-07-17 20:15:01 +01:00
parent 7c5110ed5d
commit 58759acfe4
2 changed files with 1 additions and 1 deletions

View File

@@ -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);

View File

@@ -2,7 +2,6 @@
namespace Tests\Support;
use App\Models\Actionlog;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Testing\TestResponse;
use PHPUnit\Framework\Assert;