Fixed tmdb token not set causes tests to fail
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user