From c4b5e9dcd31e7ff7b1b1699f95acfa4860929fcd Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Wed, 7 Sep 2022 09:55:03 -0400 Subject: [PATCH] Update tests Signed-off-by: Sebastian Malton --- .../selection-of-update-stability.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/features/application-update/selection-of-update-stability.test.ts b/src/features/application-update/selection-of-update-stability.test.ts index 56937ab0b4..3e7ce4a893 100644 --- a/src/features/application-update/selection-of-update-stability.test.ts +++ b/src/features/application-update/selection-of-update-stability.test.ts @@ -105,7 +105,7 @@ describe("selection of update stability", () => { it('checks updates from update channel "alpha"', () => { expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith( updateChannels.alpha, - { allowDowngrade: true }, + { allowDowngrade: false }, ); }); @@ -132,7 +132,7 @@ describe("selection of update stability", () => { it('checks updates from update channel "beta"', () => { expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith( updateChannels.beta, - { allowDowngrade: true }, + { allowDowngrade: false }, ); }); @@ -159,7 +159,7 @@ describe("selection of update stability", () => { it('finally checks updates from update channel "latest"', () => { expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith( updateChannels.latest, - { allowDowngrade: true }, + { allowDowngrade: false }, ); }); @@ -279,7 +279,7 @@ describe("selection of update stability", () => { expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith( updateChannels.latest, - { allowDowngrade: true }, + { allowDowngrade: false }, ); });