Skip to content

Commit

Permalink
Fixed unit test issues #753
Browse files Browse the repository at this point in the history
  • Loading branch information
allmightyspiff committed Jul 3, 2024
1 parent 618f97f commit 25d6f98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugin/i18n/i18n_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TestI18N(t *testing.T) {
func prepareConfigForCLI(cliConfigContent string) core_config.Repository {
ioutil.WriteFile("config.json", []byte(cliConfigContent), 0644)
ioutil.WriteFile("cf_config.json", []byte(""), 0644)
return core_config.NewCoreConfigFromPath("cf_config.json", "config.json", func(err error) {
return core_config.NewCoreConfigFromPath("config.json", func(err error) {
fmt.Printf("prepareConfigForCLI() Error: %v", err)
})
}
Expand Down
4 changes: 1 addition & 3 deletions plugin/testfixtures/.bluemix/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
"QuotaID": ""
},
"LoginAt": "0001-01-01T00:00:00Z",
"CFEETargeted": false,
"CFEEEnvID": "",
"PluginRepos": null,
"SSLDisabled": false,
"Locale": "",
Expand All @@ -57,7 +55,7 @@
"UsageStatsDisabled": false,
"UsageStatsEnabled": false,
"UsageStatsEnabledLastUpdate": "0001-01-01T00:00:00Z",
"SDKVersion": "1.3.0",
"SDKVersion": "1.4.0",
"UpdateCheckInterval": 0,
"UpdateRetryCheckInterval": 0,
"UpdateNotificationInterval": 0,
Expand Down

0 comments on commit 25d6f98

Please sign in to comment.