fix migration rollbacks (#8124)

This commit is contained in:
Jonathan Prusik 2024-02-28 10:31:21 -05:00 committed by GitHub
parent abdb48b3aa
commit 5443ea2232
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -119,7 +119,7 @@ describe("OrganizationKeysMigrator", () => {
describe("rollback", () => {
beforeEach(() => {
helper = mockMigrationHelper(rollbackJSON(), 10);
helper = mockMigrationHelper(rollbackJSON(), 11);
sut = new OrganizationKeyMigrator(10, 11);
});

View File

@ -98,7 +98,7 @@ describe("ProviderKeysMigrator", () => {
describe("rollback", () => {
beforeEach(() => {
helper = mockMigrationHelper(rollbackJSON(), 11);
helper = mockMigrationHelper(rollbackJSON(), 13);
sut = new ProviderKeyMigrator(12, 13);
});

View File

@ -147,7 +147,7 @@ describe("AutofillSettingsKeyMigrator", () => {
describe("rollback", () => {
beforeEach(() => {
helper = mockMigrationHelper(rollbackJSON(), 16);
helper = mockMigrationHelper(rollbackJSON(), 18);
sut = new AutofillSettingsKeyMigrator(17, 18);
});

View File

@ -141,7 +141,7 @@ describe("SmOnboardingTasksMigrator", () => {
describe("rollback", () => {
beforeEach(() => {
helper = mockMigrationHelper(rollbackJSON(), 23);
helper = mockMigrationHelper(rollbackJSON(), 24);
sut = new SmOnboardingTasksMigrator(23, 24);
});

View File

@ -128,7 +128,7 @@ describe("ClearClipboardDelayMigrator", () => {
describe("rollback", () => {
beforeEach(() => {
helper = mockMigrationHelper(rollbackJSON(), 23);
helper = mockMigrationHelper(rollbackJSON(), 25);
sut = new ClearClipboardDelayMigrator(24, 25);
});

View File

@ -117,7 +117,7 @@ describe("BadgeSettingsMigrator", () => {
describe("rollback", () => {
beforeEach(() => {
helper = mockMigrationHelper(rollbackJSON(), 24);
helper = mockMigrationHelper(rollbackJSON(), 26);
sut = new BadgeSettingsMigrator(25, 26);
});