migration_01_to_11: remove version checking for migration tests

This commit is contained in:
Joost Jager
2019-10-31 11:25:04 +01:00
parent 60503d6c44
commit 4486a06b1a
6 changed files with 6 additions and 202 deletions

View File

@@ -88,15 +88,6 @@ func TestMigrateInvoices(t *testing.T) {
// Verify that all invoices were migrated.
afterMigrationFunc := func(d *DB) {
meta, err := d.FetchMeta(nil)
if err != nil {
t.Fatal(err)
}
if meta.DbVersionNumber != 1 {
t.Fatal("migration 'invoices' wasn't applied")
}
dbInvoices, err := d.FetchAllInvoices(false)
if err != nil {
t.Fatalf("unable to fetch invoices: %v", err)