diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index b703f77990..d3f99e13bd 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -48,6 +48,7 @@ jobs: - 'src/backend/requirements.txt' - 'src/backend/requirements-dev.txt' migrations: + - '**/test_migrations.py' - '**/migrations/**' - '.github/workflows**' - 'src/backend/requirements.txt' diff --git a/src/backend/InvenTree/stock/test_migrations.py b/src/backend/InvenTree/stock/test_migrations.py index 1d2eb0f0b2..c052325f17 100644 --- a/src/backend/InvenTree/stock/test_migrations.py +++ b/src/backend/InvenTree/stock/test_migrations.py @@ -64,6 +64,7 @@ class TestSerialNumberMigration(MigratorTestCase): big_ref_item.serial, '9999999999999999999999999999999999999999999999999999999999999', ) + self.assertEqual(big_ref_item.serial_int, 0x7FFFFFFF)