@@ -57,7 +57,6 @@ func TestBuilder_NoOptions(t *testing.T) {
57
57
mDB := expectDB (t ,
58
58
// Inputs
59
59
withTemplate ,
60
- withTerraformValuesErrNoRows ,
61
60
withInactiveVersion (nil ),
62
61
withLastBuildFound ,
63
62
withTemplateVersionVariables (inactiveVersionID ,nil ),
@@ -114,7 +113,6 @@ func TestBuilder_Initiator(t *testing.T) {
114
113
mDB := expectDB (t ,
115
114
// Inputs
116
115
withTemplate ,
117
- withTerraformValuesErrNoRows ,
118
116
withInactiveVersion (nil ),
119
117
withLastBuildFound ,
120
118
withTemplateVersionVariables (inactiveVersionID ,nil ),
@@ -161,7 +159,6 @@ func TestBuilder_Baggage(t *testing.T) {
161
159
mDB := expectDB (t ,
162
160
// Inputs
163
161
withTemplate ,
164
- withTerraformValuesErrNoRows ,
165
162
withInactiveVersion (nil ),
166
163
withLastBuildFound ,
167
164
withTemplateVersionVariables (inactiveVersionID ,nil ),
@@ -200,7 +197,6 @@ func TestBuilder_Reason(t *testing.T) {
200
197
mDB := expectDB (t ,
201
198
// Inputs
202
199
withTemplate ,
203
- withTerraformValuesErrNoRows ,
204
200
withInactiveVersion (nil ),
205
201
withLastBuildFound ,
206
202
withTemplateVersionVariables (inactiveVersionID ,nil ),
@@ -239,7 +235,6 @@ func TestBuilder_ActiveVersion(t *testing.T) {
239
235
mDB := expectDB (t ,
240
236
// Inputs
241
237
withTemplate ,
242
- withTerraformValuesErrNoRows ,
243
238
withActiveVersion (nil ),
244
239
withLastBuildNotFound ,
245
240
withTemplateVersionVariables (activeVersionID ,nil ),
@@ -343,7 +338,6 @@ func TestWorkspaceBuildWithTags(t *testing.T) {
343
338
mDB := expectDB (t ,
344
339
// Inputs
345
340
withTemplate ,
346
- withTerraformValuesErrNoRows ,
347
341
withInactiveVersion (richParameters ),
348
342
withLastBuildFound ,
349
343
withTemplateVersionVariables (inactiveVersionID ,templateVersionVariables ),
@@ -439,7 +433,6 @@ func TestWorkspaceBuildWithRichParameters(t *testing.T) {
439
433
mDB := expectDB (t ,
440
434
// Inputs
441
435
withTemplate ,
442
- withTerraformValuesErrNoRows ,
443
436
withInactiveVersion (richParameters ),
444
437
withLastBuildFound ,
445
438
withTemplateVersionVariables (inactiveVersionID ,nil ),
@@ -487,7 +480,6 @@ func TestWorkspaceBuildWithRichParameters(t *testing.T) {
487
480
mDB := expectDB (t ,
488
481
// Inputs
489
482
withTemplate ,
490
- withTerraformValuesErrNoRows ,
491
483
withInactiveVersion (richParameters ),
492
484
withLastBuildFound ,
493
485
withTemplateVersionVariables (inactiveVersionID ,nil ),
@@ -541,7 +533,7 @@ func TestWorkspaceBuildWithRichParameters(t *testing.T) {
541
533
mDB := expectDB (t ,
542
534
// Inputs
543
535
withTemplate ,
544
- withTerraformValuesErrNoRows ,
536
+ // withTerraformValuesErrNoRows, // Not needed when UseClassicParameterFlow is true
545
537
withInactiveVersion (richParameters ),
546
538
withLastBuildFound ,
547
539
withTemplateVersionVariables (inactiveVersionID ,nil ),
@@ -574,7 +566,6 @@ func TestWorkspaceBuildWithRichParameters(t *testing.T) {
574
566
mDB := expectDB (t ,
575
567
// Inputs
576
568
withTemplate ,
577
- withTerraformValuesErrNoRows ,
578
569
withInactiveVersion (richParameters ),
579
570
withLastBuildFound ,
580
571
withTemplateVersionVariables (inactiveVersionID ,nil ),
@@ -627,7 +618,6 @@ func TestWorkspaceBuildWithRichParameters(t *testing.T) {
627
618
mDB := expectDB (t ,
628
619
// Inputs
629
620
withTemplate ,
630
- withTerraformValuesErrNoRows ,
631
621
withActiveVersion (version2params ),
632
622
withLastBuildFound ,
633
623
withTemplateVersionVariables (activeVersionID ,nil ),
@@ -691,7 +681,6 @@ func TestWorkspaceBuildWithRichParameters(t *testing.T) {
691
681
mDB := expectDB (t ,
692
682
// Inputs
693
683
withTemplate ,
694
- withTerraformValuesErrNoRows ,
695
684
withActiveVersion (version2params ),
696
685
withLastBuildFound ,
697
686
withTemplateVersionVariables (activeVersionID ,nil ),
@@ -753,7 +742,6 @@ func TestWorkspaceBuildWithRichParameters(t *testing.T) {
753
742
mDB := expectDB (t ,
754
743
// Inputs
755
744
withTemplate ,
756
- withTerraformValuesErrNoRows ,
757
745
withActiveVersion (version2params ),
758
746
withLastBuildFound ,
759
747
withTemplateVersionVariables (activeVersionID ,nil ),
@@ -801,7 +789,6 @@ func TestWorkspaceBuildWithPreset(t *testing.T) {
801
789
mDB := expectDB (t ,
802
790
// Inputs
803
791
withTemplate ,
804
- withTerraformValuesErrNoRows ,
805
792
withActiveVersion (nil ),
806
793
// building workspaces using presets with different combinations of parameters
807
794
// is tested at the API layer, in TestWorkspace. Here, it is sufficient to