mirror of https://github.com/statping/statping
test fix
parent
ba70a4c479
commit
7901aeea7c
|
@ -257,6 +257,7 @@ jobs:
|
|||
API_SECRET: demopassword123
|
||||
DISABLE_LOGS: false
|
||||
ALLOW_REPORTS: true
|
||||
SAMPLE_DATA: true
|
||||
COVERALLS: ${{ secrets.COVERALLS }}
|
||||
DISCORD_URL: ${{ secrets.DISCORD_URL }}
|
||||
EMAIL_HOST: ${{ secrets.EMAIL_HOST }}
|
||||
|
|
|
@ -257,6 +257,7 @@ jobs:
|
|||
API_SECRET: demopassword123
|
||||
DISABLE_LOGS: false
|
||||
ALLOW_REPORTS: true
|
||||
SAMPLE_DATA: true
|
||||
COVERALLS: ${{ secrets.COVERALLS }}
|
||||
DISCORD_URL: ${{ secrets.DISCORD_URL }}
|
||||
EMAIL_HOST: ${{ secrets.EMAIL_HOST }}
|
||||
|
|
|
@ -192,7 +192,8 @@ func TestHttpRequest(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestConfigLoad(t *testing.T) {
|
||||
InitLogs()
|
||||
err := InitLogs()
|
||||
require.Nil(t, err)
|
||||
InitEnvs()
|
||||
|
||||
s := Params.GetString
|
||||
|
|
Loading…
Reference in New Issue