mirror of
https://github.com/mariocandela/beelzebub.git
synced 2025-07-01 18:47:26 -04:00
Fixed Unit Test
This commit is contained in:
@ -13,7 +13,10 @@ core:
|
||||
debug: false
|
||||
debugReportCaller: false
|
||||
logDisableTimestamp: true
|
||||
logsPath: ./logs`)
|
||||
logsPath: ./logs
|
||||
tracing:
|
||||
mongoEnabled: true
|
||||
mongoURI: provaMock`)
|
||||
return configurationsCoreBytes, nil
|
||||
}
|
||||
|
||||
@ -77,6 +80,8 @@ func TestReadConfigurationsCoreValid(t *testing.T) {
|
||||
assert.Equal(t, coreConfigurations.Core.Logging.LogDisableTimestamp, true)
|
||||
assert.Equal(t, coreConfigurations.Core.Logging.DebugReportCaller, false)
|
||||
assert.Equal(t, coreConfigurations.Core.Logging.LogsPath, "./logs")
|
||||
assert.Equal(t, coreConfigurations.Core.Tracing.MongoEnabled, true)
|
||||
assert.Equal(t, coreConfigurations.Core.Tracing.MongoURI, "provaMock")
|
||||
}
|
||||
|
||||
func TestReadConfigurationsServicesFail(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user