diff --git a/data/test.kch b/data/test.kch index d7a0230fd..efa620ffa 100644 Binary files a/data/test.kch and b/data/test.kch differ diff --git a/timespans/tariff_plans_test.go b/timespans/tariff_plans_test.go index ff1e9cb42..2f7698f57 100644 --- a/timespans/tariff_plans_test.go +++ b/timespans/tariff_plans_test.go @@ -82,10 +82,10 @@ func TestTariffPlanMongoStore(t *testing.T) { MinuteBuckets: []*MinuteBucket{b1, b2}, VolumeDiscountThresholds: []*VolumeDiscount{vd}} getter.SetTariffPlan(seara) result, _ := getter.GetTariffPlan(seara.Id) - if reflect.DeepEqual(seara, result) { + if !reflect.DeepEqual(seara, result) { t.Log(seara) t.Log(result) - t.Errorf("Expected %q was %q", seara, result) + t.Errorf("Expected %v was %v", seara.VolumeDiscountThresholds, result.VolumeDiscountThresholds) } }