Skip to content

Commit 7901aee

Browse files
committed
test fix
1 parent ba70a4c commit 7901aee

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/development.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ jobs:
257257
API_SECRET: demopassword123
258258
DISABLE_LOGS: false
259259
ALLOW_REPORTS: true
260+
SAMPLE_DATA: true
260261
COVERALLS: ${{ secrets.COVERALLS }}
261262
DISCORD_URL: ${{ secrets.DISCORD_URL }}
262263
EMAIL_HOST: ${{ secrets.EMAIL_HOST }}

.github/workflows/master.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ jobs:
257257
API_SECRET: demopassword123
258258
DISABLE_LOGS: false
259259
ALLOW_REPORTS: true
260+
SAMPLE_DATA: true
260261
COVERALLS: ${{ secrets.COVERALLS }}
261262
DISCORD_URL: ${{ secrets.DISCORD_URL }}
262263
EMAIL_HOST: ${{ secrets.EMAIL_HOST }}

utils/utils_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ func TestHttpRequest(t *testing.T) {
192192
}
193193

194194
func TestConfigLoad(t *testing.T) {
195-
InitLogs()
195+
err := InitLogs()
196+
require.Nil(t, err)
196197
InitEnvs()
197198

198199
s := Params.GetString

0 commit comments

Comments
 (0)