diff options
Diffstat (limited to 'model/recipe_test.go')
-rw-r--r-- | model/recipe_test.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/model/recipe_test.go b/model/recipe_test.go index 37b43e0..1119d20 100644 --- a/model/recipe_test.go +++ b/model/recipe_test.go @@ -19,13 +19,10 @@ func TestRecipeCrud(t *testing.T) { defer os.RemoveAll(storagePath) storage := NewStorage(storagePath) - if !storage.Exists() { - storage.Create() - } ConnectDatabase(filepath.Join(storage.Path, "ceres.sqlite3")) defer DisconnectDatabase() - MigrateDatabase() + MigrateDatabase("dummy_version") Transaction(func(tx *sql.Tx) error { var original, readback, update, updated, deleted Recipe |