athens
athens copied to clipboard
Test for minio and mongo are currently skipped in local environment
Describe the bug
Test for minio and mongo are currently skipped, because in storage/minio_test.go we expect enviornment variable with URL. Same thing happens for storage/mongo_test.go but there enviornment variable should be also changed from:
url := os.Getenv("ATHENS_MONGO_URL")
to
url := os.Getenv("ATHENS_MONGO_STORAGE_URL")
To Reproduce
make test-unit
0% of coverage is shown for mongo and minio and and there is no info that this test are skipped
Expected behavior Test should be run automaticaly, without any special configuration
Additional context
In Travis CI configuration environment variable ATHENS_MONGO_STORAGE_URL is missing