Skip to content

Commit 6805875

Browse files
- Added defer output file
1 parent eebdbc9 commit 6805875

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/commands/scan_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4470,7 +4470,7 @@ func Test_CreateScanWithExistingProjectAndAssign_FailedApplication_DoesNot_Exist
44704470

44714471
func Test_CreateScanWithExistingProjectAssign_to_Application_FF_DirectAssociationEnabledShouldPass(t *testing.T) {
44724472
file := createOutputFile(t, outputFileName)
4473-
//defer deleteOutputFile(file)
4473+
defer deleteOutputFile(file)
44744474
defer logger.SetOutput(os.Stdout)
44754475

44764476
mock.Flag = wrappers.FeatureFlagResponseModel{Name: wrappers.DirectAssociationEnabled, Status: true}

0 commit comments

Comments
 (0)