mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
asset assigned to asset works now
This commit is contained in:
parent
b17078fffd
commit
65ca24f6ae
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue