@@ -643,7 +643,6 @@ func TestRunGetBFLByScanIdAndQueryIdWithFormatList(t *testing.T) {
643643
644644func TestRunGetResultsGeneratingPdfReportWithInvalidEmail (t * testing.T ) {
645645 clearFlags ()
646- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
647646 err := execCmdNotNilAssertion (t ,
648647 "results" , "show" ,
649648 "--report-format" , "pdf" ,
@@ -654,7 +653,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidEmail(t *testing.T) {
654653
655654func TestRunGetResultsGeneratingPdfReportWithInvalidOptions (t * testing.T ) {
656655 clearFlags ()
657- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
658656 err := execCmdNotNilAssertion (t ,
659657 "results" , "show" ,
660658 "--report-format" , "pdf" ,
@@ -665,7 +663,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidOptions(t *testing.T) {
665663
666664func TestRunGetResultsGeneratingPdfReportWithInvalidImprovedOptions (t * testing.T ) {
667665 clearFlags ()
668- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
669666 err := execCmdNotNilAssertion (t ,
670667 "results" , "show" ,
671668 "--report-format" , "pdf" ,
@@ -676,7 +673,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidImprovedOptions(t *testing.T
676673
677674func TestRunGetResultsGeneratingPdfReportWithEmailAndOptions (t * testing.T ) {
678675 clearFlags ()
679- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
680676 cmd := createASTTestCommand ()
681677 err := executeTestCommand (cmd ,
682678 "results" , "show" ,
@@ -689,7 +685,6 @@ func TestRunGetResultsGeneratingPdfReportWithEmailAndOptions(t *testing.T) {
689685
690686func TestRunGetResultsGeneratingPdfReportWithOptionsImprovedMappingHappens (t * testing.T ) {
691687 clearFlags ()
692- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : true }
693688 cmd := createASTTestCommand ()
694689 err := executeTestCommand (cmd ,
695690 "results" , "show" ,
@@ -702,7 +697,6 @@ func TestRunGetResultsGeneratingPdfReportWithOptionsImprovedMappingHappens(t *te
702697
703698func TestRunGetResultsGeneratingPdfReportWithInvalidOptionsImproved (t * testing.T ) {
704699 clearFlags ()
705- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : true }
706700 cmd := createASTTestCommand ()
707701 err := executeTestCommand (cmd ,
708702 "results" , "show" ,
@@ -715,7 +709,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidOptionsImproved(t *testing.T
715709
716710func TestRunGetResultsGeneratingPdfReportWithOptions (t * testing.T ) {
717711 clearFlags ()
718- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
719712 cmd := createASTTestCommand ()
720713 err := executeTestCommand (cmd ,
721714 "results" , "show" ,
@@ -734,7 +727,6 @@ func TestRunGetResultsGeneratingPdfReportWithOptions(t *testing.T) {
734727
735728func TestRunGetResultsGeneratingJsonV2Report (t * testing.T ) {
736729 clearFlags ()
737- mock .Flag = wrappers.FeatureFlagResponseModel {Name : wrappers .NewScanReportEnabled , Status : false }
738730 cmd := createASTTestCommand ()
739731 err := executeTestCommand (cmd ,
740732 "results" , "show" ,
0 commit comments