Skip to content

Commit e926034

Browse files
removed instance from tests
1 parent 29ad1a0 commit e926034

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/commands/result_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidEmail(t *testing.T) {
653653

654654
func TestRunGetResultsGeneratingPdfReportWithInvalidOptions(t *testing.T) {
655655
clearFlags()
656-
mock.Flag = wrappers.FeatureFlagResponseModel{Name: wrappers.NewScanReportEnabled, Status: false}
657656
err := execCmdNotNilAssertion(t,
658657
"results", "show",
659658
"--report-format", "pdf",
@@ -664,7 +663,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidOptions(t *testing.T) {
664663

665664
func TestRunGetResultsGeneratingPdfReportWithInvalidImprovedOptions(t *testing.T) {
666665
clearFlags()
667-
mock.Flag = wrappers.FeatureFlagResponseModel{Name: wrappers.NewScanReportEnabled, Status: false}
668666
err := execCmdNotNilAssertion(t,
669667
"results", "show",
670668
"--report-format", "pdf",
@@ -675,7 +673,6 @@ func TestRunGetResultsGeneratingPdfReportWithInvalidImprovedOptions(t *testing.T
675673

676674
func TestRunGetResultsGeneratingPdfReportWithEmailAndOptions(t *testing.T) {
677675
clearFlags()
678-
mock.Flag = wrappers.FeatureFlagResponseModel{Name: wrappers.NewScanReportEnabled, Status: false}
679676
cmd := createASTTestCommand()
680677
err := executeTestCommand(cmd,
681678
"results", "show",

0 commit comments

Comments
 (0)