diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index ea9feaad..ed698db3 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -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 }} diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 5ec814fd..7d0c10b5 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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 }} diff --git a/utils/utils_test.go b/utils/utils_test.go index 79900ff4..2880d69a 100644 --- a/utils/utils_test.go +++ b/utils/utils_test.go @@ -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