@@ -238,9 +238,7 @@ func TestFeatures(t *testing.T) {
238
238
FeaturePrebuild ,
239
239
}, LicenseTypeGitpod , seats , nil },
240
240
241
- {"Gitpod (over seats): no license" , true , LicenseLevel (0 ), []Feature {
242
- FeaturePrebuild ,
243
- }, LicenseTypeGitpod , 11 , nil },
241
+ {"Gitpod (over seats): no license" , true , LicenseLevel (0 ), []Feature {}, LicenseTypeGitpod , 11 , nil },
244
242
{"Gitpod (over seats): invalid license level" , false , LicenseLevel (666 ), []Feature {}, LicenseTypeGitpod , seats + 1 , nil },
245
243
{"Gitpod (over seats): enterprise license" , false , LevelEnterprise , []Feature {}, LicenseTypeGitpod , seats + 1 , nil },
246
244
@@ -274,14 +272,8 @@ func TestFeatures(t *testing.T) {
274
272
FeaturePrebuild ,
275
273
}, LicenseTypeReplicated , seats + 1 , & replicatedPaid },
276
274
277
- {"Replicated (over seats - fallback): invalid license level" , false , LicenseLevel (666 ), []Feature {
278
- FeatureAdminDashboard ,
279
- FeaturePrebuild ,
280
- }, LicenseTypeReplicated , seats + 1 , & replicatedCommunity },
281
- {"Replicated (over seats - fallback): enterprise license" , false , LevelEnterprise , []Feature {
282
- FeatureAdminDashboard ,
283
- FeaturePrebuild ,
284
- }, LicenseTypeReplicated , seats + 1 , & replicatedCommunity },
275
+ {"Replicated (over seats - fallback): invalid license level" , false , LicenseLevel (666 ), []Feature {FeatureAdminDashboard }, LicenseTypeReplicated , seats + 1 , & replicatedCommunity },
276
+ {"Replicated (over seats - fallback): enterprise license" , false , LevelEnterprise , []Feature {FeatureAdminDashboard }, LicenseTypeReplicated , seats + 1 , & replicatedCommunity },
285
277
}
286
278
287
279
for _ , test := range tests {
0 commit comments