Files
leanote/app/tests/db_test.go

15 lines
289 B
Go
Raw Permalink Normal View History

2015-09-11 18:31:37 +08:00
package tests
import (
"github.com/leanote/leanote/app/db"
2015-11-13 17:58:41 +08:00
"testing"
// . "github.com/leanote/leanote/app/lea"
// "github.com/leanote/leanote/app/service"
// "gopkg.in/mgo.v2"
// "fmt"
2015-09-11 18:31:37 +08:00
)
func TestDBConnect(t *testing.T) {
2015-11-13 17:58:41 +08:00
db.Init("mongodb://localhost:27017/leanote", "leanote")
}