Fixed tmdb token not set causes tests to fail

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

View File

@@ -9,6 +9,7 @@ import (
func TestConfig() (*config.Config, error) {
os.Setenv("SECRET_KEY", ".")
os.Setenv("TMDB_API_TOKEN", ".")
cfg, err := config.GetConfig(map[string]string{})
if err != nil {
return nil, errors.Wrap(err, "config.GetConfig")