Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MissedTheMark committed Sep 19, 2024
1 parent e41f605 commit f20f3d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/migrator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var migrateAcrossVersionsTestCases = []struct {
currentVersion: 1,
versionTo: ptr(4),
includeMigrationsToVersions: []int{},
expected: version1Config,
expected: nilConfig,
},
}

Expand Down Expand Up @@ -112,6 +112,8 @@ var migrationData = map[int]map[string]interface{}{
4: version4Migration,
}

var nilConfig = map[string]interface{}(nil)

var version1Config = map[string]interface{}{
"agent": map[interface{}]interface{}{
"targetEnvironment": "test",
Expand Down

0 comments on commit f20f3d2

Please sign in to comment.