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