Navigation Menu

Skip to content

Commit

Permalink
Thinking I've finally fixed the unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rhinoman committed Mar 13, 2016
1 parent 452ecbc commit cf7f7a6
Show file tree
Hide file tree
Showing 8 changed files with 455 additions and 468 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -61,6 +61,7 @@ crashlytics-build.properties

#Other project specific stuff
dev1_start.sh
torture_test.sh
config.ini
frontend/index.html
frontend/plugins/plugins.ini
Expand Down
2 changes: 1 addition & 1 deletion common/config/config.go 100644 → 100755
Expand Up @@ -125,7 +125,7 @@ func LoadDefaults() {
Database.UseSSL = false
Database.DbAdminUser = "adminuser"
Database.DbAdminPassword = "password"
Database.DbTimeout = "500"
Database.DbTimeout = "0"
Database.MainDb = "main_ut"
Logger.LogFile = "wikifeat-service.log"
Logger.MaxSize = 10
Expand Down
2 changes: 0 additions & 2 deletions config/config_loader/config_loader_test.go 100644 → 100755
Expand Up @@ -54,8 +54,6 @@ func TestConfigLoader(t *testing.T) {
config_loader.SetConfig()
//Reset the local config to defaults
config.LoadDefaults()
//Load config from etcd
config.FetchConfig()
//Check the config items we set
if config.Notifications.FromEmail != "turd.furgeson@nowhere.com" {
t.Errorf("Notifications.FromEmail not set: %v", config.Notifications.FromEmail)
Expand Down

0 comments on commit cf7f7a6

Please sign in to comment.