asset assigned to asset works now

This commit is contained in:
spencerrlongg 2023-11-29 11:37:52 -06:00
parent b17078fffd
commit 65ca24f6ae

View file

@ -313,6 +313,6 @@ class AssetStoreTest extends TestCase
$apiAsset = Asset::find($response['payload']['id']);
$this->assertTrue($apiAsset->adminuser->is($user));
$this->assertTrue($apiAsset->assignedAssets()->is($asset)); //todo: figure this out
$this->assertTrue($asset->assignedAssets()->first()->is($apiAsset));
}
}