Files
athens/pkg/storage/mongo/all_test.go
Rohan Chakravarthy 0e470d0294 Plumb config - Latest (#627)
* switch proxy to config file

pull in single flight changes

* changes for single-flight

* intermediate stage. All tests passing. pkg still has env refs

* remove all env references

* delete config/env entirely

* fix failing tests

* create the config.toml file as part of dev setup

* create config file only if it doesn't exist

* update Dockerfiles to use config file

* move composing elements to the top

* verbose parameter naming

* newline

* add flag for config file path

* update docs with config file flag

* remove unnecessary nil check

* use filepath.join

* rename redis port to address

* fix path.join

* fix issues after merge

* add vendor dir
2018-09-11 15:04:20 -07:00

24 lines
332 B
Go

package mongo
import (
"testing"
"github.com/stretchr/testify/suite"
)
type MongoTests struct {
suite.Suite
}
func (d *MongoTests) SetupTest() {
ms, err := newTestStore(testConfigFile)
d.Require().NoError(err)
ms.s.DB(ms.d).C(ms.c).RemoveAll(nil)
}
func TestDiskStorage(t *testing.T) {
suite.Run(t, new(MongoTests))
}