fix tests for new method names

This commit is contained in:
Jeremy Jay 2014-07-18 14:09:57 -04:00
parent 0641309a8f
commit a6dc5c9532
5 changed files with 49 additions and 45 deletions

View file

@ -20,7 +20,7 @@ import (
"testing"
"github.com/google/cayley/graph"
"github.com/google/cayley/graph/memstore"
_ "github.com/google/cayley/graph/memstore"
)
// This is a simple test graph.
@ -51,7 +51,7 @@ var simpleGraph = []*graph.Triple{
}
func makeTestSession(data []*graph.Triple) *Session {
ts := memstore.NewTripleStore()
ts, _ := graph.NewTripleStore("memstore", "", nil)
for _, t := range data {
ts.AddTriple(t)
}