diff --git a/api/p/memeland/memeland_test.gno b/api/p/memeland/memeland_test.gno index 8bcc527..513d6e5 100644 --- a/api/p/memeland/memeland_test.gno +++ b/api/p/memeland/memeland_test.gno @@ -97,7 +97,7 @@ func TestGetPostsInRangeByTimestamp(t *testing.T) { // Count the number of posts returned in the JSON string as a rudimentary check for correct pagination/filtering postCount := strings.Count(jsonStr, `"id":"`) - if postCount != m.MemeCounter { + if seqid.ID(postCount) != m.MemeCounter { t.Errorf("Expected %d posts in the JSON string, but found %d", m.MemeCounter, postCount) } @@ -157,7 +157,7 @@ func TestGetPostsInRangeByUpvote(t *testing.T) { // Count the number of posts returned in the JSON string as a rudimentary check for correct pagination/filtering postCount := strings.Count(jsonStr, `"id":"`) - if postCount != m.MemeCounter { + if seqid.ID(postCount) != m.MemeCounter { t.Errorf("Expected %d posts in the JSON string, but found %d", m.MemeCounter, postCount) }