mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-27 07:48:29 +00:00
removed obsolete test (two times equal behaviour )
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
c4067b7e38
commit
1ef5b9265d
@ -28,17 +28,7 @@ func createNAsset(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.MsgNota
|
||||
return items
|
||||
}
|
||||
|
||||
func TestGetAsset(t *testing.T) {
|
||||
t.Parallel()
|
||||
keeper, ctx := keepertest.AssetKeeper(t)
|
||||
items := createNAsset(keeper, ctx, 10)
|
||||
for _, item := range items {
|
||||
asset, found := keeper.GetAsset(ctx, item.Cid)
|
||||
assert.True(t, found)
|
||||
assert.Equal(t, item, asset)
|
||||
}
|
||||
}
|
||||
func TestGetCids(t *testing.T) {
|
||||
func TestGetAssetbyCid(t *testing.T) {
|
||||
t.Parallel()
|
||||
keeper, ctx := keepertest.AssetKeeper(t)
|
||||
items := createNAsset(keeper, ctx, 10)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user