Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 703feb2

Browse files
committed
Update signed_listing_test
1 parent f635640 commit 703feb2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/signed_listings_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package core_test
22

33
import (
4+
"math/big"
45
"path/filepath"
56
"testing"
67

@@ -76,8 +77,8 @@ func TestOpenBazaarSignedListings_AssignMatchingCoupons(t *testing.T) {
7677
func TestOpenBazaarSignedListings_AssignMatchingQuantities(t *testing.T) {
7778
absPath, _ := filepath.Abs("../test/contracts/signed_listings_1.json")
7879

79-
inventory := map[int]int64{
80-
0: 1000,
80+
inventory := map[int]*big.Int{
81+
0: big.NewInt(1000),
8182
}
8283

8384
listing, err := core.GetSignedListingFromPath(absPath)

0 commit comments

Comments
 (0)