@@ -635,7 +635,6 @@ func TestRunGetBFLByScanIdAndQueryIdWithFormatList(t *testing.T) {
635635
636636func TestRunGetResultsGeneratingPdfReportWithInvalidEmail (t * testing.T ) {
637637 clearFlags ()
638- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
639638 err := execCmdNotNilAssertion (t ,
640639 "results" , "show" ,
641640 "--report-format" , "pdf" ,
@@ -646,7 +645,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidEmail(t *testing.T) {
646645
647646func TestRunGetResultsGeneratingPdfReportWithInvalidOptions (t * testing.T ) {
648647 clearFlags ()
649- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
650648 err := execCmdNotNilAssertion (t ,
651649 "results" , "show" ,
652650 "--report-format" , "pdf" ,
@@ -657,7 +655,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidOptions(t *testing.T) {
657655
658656func TestRunGetResultsGeneratingPdfReportWithInvalidImprovedOptions (t * testing.T ) {
659657 clearFlags ()
660- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
661658 err := execCmdNotNilAssertion (t ,
662659 "results" , "show" ,
663660 "--report-format" , "pdf" ,
@@ -668,7 +665,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidImprovedOptions(t *testing.T
668665
669666func TestRunGetResultsGeneratingPdfReportWithEmailAndOptions (t * testing.T ) {
670667 clearFlags ()
671- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
672668 cmd := createASTTestCommand ()
673669 err := executeTestCommand (cmd ,
674670 "results" , "show" ,
@@ -681,7 +677,6 @@ func TestRunGetResultsGeneratingPdfReportWithEmailAndOptions(t *testing.T) {
681677
682678func TestRunGetResultsGeneratingPdfReportWithOptionsImprovedMappingHappens (t * testing.T ) {
683679 clearFlags ()
684- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : true }
685680 cmd := createASTTestCommand ()
686681 err := executeTestCommand (cmd ,
687682 "results" , "show" ,
@@ -694,7 +689,6 @@ func TestRunGetResultsGeneratingPdfReportWithOptionsImprovedMappingHappens(t *te
694689
695690func TestRunGetResultsGeneratingPdfReportWithInvalidOptionsImproved (t * testing.T ) {
696691 clearFlags ()
697- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : true }
698692 cmd := createASTTestCommand ()
699693 err := executeTestCommand (cmd ,
700694 "results" , "show" ,
@@ -707,7 +701,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidOptionsImproved(t *testing.T
707701
708702func TestRunGetResultsGeneratingPdfReportWithOptions (t * testing.T ) {
709703 clearFlags ()
710- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
711704 cmd := createASTTestCommand ()
712705 err := executeTestCommand (cmd ,
713706 "results" , "show" ,
@@ -726,7 +719,6 @@ func TestRunGetResultsGeneratingPdfReportWithOptions(t *testing.T) {
726719
727720func TestRunGetResultsGeneratingJsonV2Report (t * testing.T ) {
728721 clearFlags ()
729- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
730722 cmd := createASTTestCommand ()
731723 err := executeTestCommand (cmd ,
732724 "results" , "show" ,
0 commit comments