// Run the tests using MongoRe func setUpMongoreTest() account.Storable { cfg := mongore.Config{ Host: "127.0.0.1:27017", DatabaseName: "backstage_auth_test", } store := mongore.New(cfg) account.Storage(store) return store }
// Run the tests using MongoRe func setUpMongoreTest(s *S) { s.store = mongore.New(mongore.Config{ Host: "127.0.0.1:27017", DatabaseName: "backstage_api_test", }) }
// Run the tests using MongoRe func setUpMongoreTest(s *S) { account.Storage(mongore.New(mongore.Config{ Host: "127.0.0.1:27017", DatabaseName: "backstage_account_test", })) }