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:
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user