Skip to content

Commit 8ee9d3d

Browse files
author
serverpod_cloud
committed
fix: 6d6badf3d3617394bd6f7638aa0e23b26440a515
1 parent 0ab29e7 commit 8ee9d3d

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

ground_control_client/lib/src/test_tools/builders/plan_info_builder.dart

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,26 @@ class PlanInfoBuilder {
142142
return this;
143143
}
144144

145+
PlanInfoBuilder withGrowthPlan() {
146+
_productId = 'growth:0';
147+
_displayName = 'Growth';
148+
_description = 'A test plan description';
149+
_trialLength = 30;
150+
_trialEndDate = null;
151+
_projectsLimit = 3;
152+
return this;
153+
}
154+
155+
PlanInfoBuilder withStarterPlan() {
156+
_productId = 'starter:0';
157+
_displayName = 'Starter';
158+
_description = 'A test plan description';
159+
_trialLength = 30;
160+
_trialEndDate = null;
161+
_projectsLimit = 3;
162+
return this;
163+
}
164+
145165
PlanInfoBuilder withStandardPlan() {
146166
_productId = 'standard:0';
147167
_displayName = 'Standard';

0 commit comments

Comments
 (0)