Merge pull request #23 from Haelnorr/tmdb
Fixed tmdb token not set causes tests to fail
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
|||||||
|
|
||||||
func TestConfig() (*config.Config, error) {
|
func TestConfig() (*config.Config, error) {
|
||||||
os.Setenv("SECRET_KEY", ".")
|
os.Setenv("SECRET_KEY", ".")
|
||||||
|
os.Setenv("TMDB_API_TOKEN", ".")
|
||||||
cfg, err := config.GetConfig(map[string]string{})
|
cfg, err := config.GetConfig(map[string]string{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "config.GetConfig")
|
return nil, errors.Wrap(err, "config.GetConfig")
|
||||||
|
|||||||
Reference in New Issue
Block a user