Fixes for migration tests

This commit is contained in:
Oliver 2021-12-03 11:12:49 +11:00
parent 3c3dd9368d
commit 6b29e60494

View File

@ -8,13 +8,13 @@ from InvenTree import helpers
from InvenTree.status_codes import SalesOrderStatus
class TestForwardMigrations(MigratorTestCase):
class TestRefIntMigrations(MigratorTestCase):
"""
Test entire schema migration
"""
migrate_from = ('order', helpers.getOldestMigrationFile('order'))
migrate_to = ('order', helpers.getNewestMigrationFile('order'))
migrate_from = ('order', '0040_salesorder_target_date')
migrate_to = ('order', '0061_merge_0054_auto_20211201_2139_0060_auto_20211129_1339')
def prepare(self):
"""