Fixed tmdb token not set causes tests to fail

This commit is contained in:
2025-03-01 21:33:43 +11:00
parent e3d2eb1af8
commit 5c1089e0ce

View File

@@ -21,6 +21,7 @@ func Test_main(t *testing.T) {
args := map[string]string{"test": "true"}
var stdout bytes.Buffer
os.Setenv("SECRET_KEY", ".")
os.Setenv("TMDB_API_TOKEN", ".")
os.Setenv("HOST", "127.0.0.1")
os.Setenv("PORT", "3232")
runSrvErr := make(chan error)