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

Commit 2f609fe

Browse files
committed
Update listing format in test package
1 parent 4d904d1 commit 2f609fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/factory/listing.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ func NewListing(slug string) *pb.Listing {
119119
},
120120
Coupons: []*pb.Listing_Coupon{
121121
{
122-
Title: "Insider's Discount",
123-
Code: &pb.Listing_Coupon_DiscountCode{DiscountCode: "insider"},
124-
BigPriceDiscount: "5",
122+
Title: "Insider's Discount",
123+
Code: &pb.Listing_Coupon_DiscountCode{DiscountCode: "insider"},
124+
Discount: &pb.Listing_Coupon_BigPriceDiscount{BigPriceDiscount: "5"},
125125
},
126126
},
127127
}

0 commit comments

Comments
 (0)