Skip to content

Commit 0a52046

Browse files
committed
Added a false-positive test for future development
1 parent 41523b5 commit 0a52046

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/pricing/basket_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ func TestBasket_Total(t *testing.T) {
7878

7979
basket.SetDuration(30 * 24 * time.Hour)
8080
So(basket.Total(), ShouldEqualBigRat, big.NewRat(11999, 1000)) // 11.999
81+
82+
// FIXME: this test is false, the capacity is per month
83+
basket.SetDuration(365 * 24 * time.Hour)
84+
So(basket.Total(), ShouldEqualBigRat, big.NewRat(11999, 1000)) // 11.999
8185
})
8286
})
8387
}

0 commit comments

Comments
 (0)