diff options
Diffstat (limited to '')
-rw-r--r-- | pkg/datamaps/db_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkg/datamaps/db_test.go b/pkg/datamaps/db_test.go index e9d5100..029121c 100644 --- a/pkg/datamaps/db_test.go +++ b/pkg/datamaps/db_test.go @@ -30,16 +30,11 @@ func TestOpenSQLiteFile(t *testing.T) { } func TestDatamapGoesIntoDB(t *testing.T) { - d, err := ReadDML("./testdata/datamap.csv") - if err != nil { - t.Fatal(err) - } opts := Options{ DBPath: "./testdata/test.db", DMName: "First Datamap", - DMData: d, } - err = DatamapToDB(opts) + err := DatamapToDB(&opts) if err != nil { t.Errorf("Unable to write datamap to database file because %v.", err) } |