15 lines
289 B
Go
15 lines
289 B
Go
package tests
|
|
|
|
import (
|
|
"github.com/leanote/leanote/app/db"
|
|
"testing"
|
|
// . "github.com/leanote/leanote/app/lea"
|
|
// "github.com/leanote/leanote/app/service"
|
|
// "gopkg.in/mgo.v2"
|
|
// "fmt"
|
|
)
|
|
|
|
func TestDBConnect(t *testing.T) {
|
|
db.Init("mongodb://localhost:27017/leanote", "leanote")
|
|
}
|