func (s *S) TearDownSuite(c *gocheck.C) { coll := collection() defer coll.Close() err := coll.Database.DropDatabase() c.Assert(err, gocheck.IsNil) fsystem = nil tTesting.RollbackTargetFile(s.targetRecover) }
func (s *S) TearDownSuite(c *gocheck.C) { coll := collection() defer coll.Close() err := coll.Database.DropDatabase() c.Assert(err, gocheck.IsNil) fsystem = nil tTesting.RollbackTargetFile(s.targetRecover) s.storage.Apps().Database.DropDatabase() s.storage.Close() app.Provisioner = s.oldProvisioner }
func (s *S) TearDownSuite(c *gocheck.C) { tTesting.RollbackTargetFile(s.recover) }