removed obsolete test (two times equal behaviour )

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Jürgen Eckel 2024-02-26 14:38:51 +01:00
parent c4067b7e38
commit 1ef5b9265d
No known key found for this signature in database

View File

@ -28,17 +28,7 @@ func createNAsset(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.MsgNota
return items return items
} }
func TestGetAsset(t *testing.T) { func TestGetAssetbyCid(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) {
t.Parallel() t.Parallel()
keeper, ctx := keepertest.AssetKeeper(t) keeper, ctx := keepertest.AssetKeeper(t)
items := createNAsset(keeper, ctx, 10) items := createNAsset(keeper, ctx, 10)