mirror of
				https://github.com/aclindsa/moneygo.git
				synced 2025-11-03 18:13:27 -05:00 
			
		
		
		
	Take unexported database methods 'private'
This commit is contained in:
		@@ -258,10 +258,7 @@ func RunTests(m *testing.M) int {
 | 
			
		||||
	}
 | 
			
		||||
	defer db.Close()
 | 
			
		||||
 | 
			
		||||
	err = db.DbMap.TruncateTables()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		log.Fatal(err)
 | 
			
		||||
	}
 | 
			
		||||
	db.Empty() // clear the DB tables
 | 
			
		||||
 | 
			
		||||
	server = httptest.NewTLSServer(&handlers.APIHandler{Store: db})
 | 
			
		||||
	defer server.Close()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user