Skip to content

Commit 8ce36de

Browse files
committed
chore: fix tests
1 parent 0776ce2 commit 8ce36de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openmeter/billing/charges/service/featureid_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func (s *ChargeFeatureIDTestSuite) TestUsageBasedActivationRecalculatesFeatureID
196196
ChargeID: activatedCharge.GetChargeID(),
197197
})
198198
s.NoError(err)
199-
s.True(alpacadecimal.NewFromInt(7).Equal(currentTotals.Quantity))
199+
s.True(alpacadecimal.NewFromInt(21).Equal(currentTotals.DueTotals.Total))
200200

201201
clock.SetTime(servicePeriod.To.Add(2 * time.Hour))
202202
s.UsageBasedTestHandler.onCreditsOnlyUsageAccrued = func(ctx context.Context, input usagebased.CreditsOnlyUsageAccruedInput) (creditrealization.CreateAllocationInputs, error) {

0 commit comments

Comments
 (0)