3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-06 02:05:51 +00:00

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