Skip to content

Commit bde3f73

Browse files
committed
fix: tests
1 parent b491216 commit bde3f73

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

openmeter/productcatalog/plan.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,11 @@ func (p Plan) ValidForCreatingSubscriptions() error {
119119
))
120120
}
121121
}
122-
}
123122

124-
if err := p.ValidateWith(PlanHasAlignedBillingCadences(p)); err != nil {
125-
errs = append(errs, err)
123+
// TODO: move this out as soon as we remove alignment setting
124+
if err := p.ValidateWith(PlanHasAlignedBillingCadences(p)); err != nil {
125+
errs = append(errs, err)
126+
}
126127
}
127128

128129
return errors.Join(errs...)

0 commit comments

Comments
 (0)