Skip to content

Commit fc5f90b

Browse files
- Fixed test issues
1 parent 7dff2fa commit fc5f90b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/commands/scan_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4472,9 +4472,9 @@ func Test_CreateScanWithExistingProjectAssign_to_Application_FF_DirectAssociatio
44724472
file := createOutputFile(t, outputFileName)
44734473
defer deleteOutputFile(file)
44744474
defer logger.SetOutput(os.Stdout)
4475-
4475+
mock.Flag = wrappers.FeatureFlagResponseModel{Name: wrappers.DA_MIGRATION_ENABLED, Status: false}
44764476
mock.Flag = wrappers.FeatureFlagResponseModel{Name: wrappers.DirectAssociationEnabled, Status: true}
4477-
baseArgs := []string{"scan", "create", "--project-name", "MOCK2", "-s", ".", "--branch", "main", "--debug", "--application-name", mock.ExistingApplication}
4477+
baseArgs := []string{"scan", "create", "--project-name", "MOCK", "-s", ".", "--branch", "main", "--debug", "--application-name", mock.ExistingApplication}
44784478
execCmdNilAssertion(
44794479
t,
44804480
baseArgs...,
@@ -4492,7 +4492,7 @@ func Test_Create_Scan_With_DA_MIGRATION_And_Configuration_ShouldPass(t *testing.
44924492
defer logger.SetOutput(os.Stdout)
44934493

44944494
mock.Flag = wrappers.FeatureFlagResponseModel{Name: wrappers.DA_MIGRATION_ENABLED, Status: true}
4495-
baseArgs := []string{"scan", "create", "--project-name", "MOCK5", "-s", ".", "--branch", "main", "--debug", "--application-name", mock.ExistingApplication}
4495+
baseArgs := []string{"scan", "create", "--project-name", "MOCK", "-s", ".", "--branch", "main", "--debug", "--application-name", mock.ExistingApplication}
44964496
execCmdNilAssertion(
44974497
t,
44984498
baseArgs...,

0 commit comments

Comments
 (0)