diff --git a/src/lib/routes/admin-api/config.test.ts b/src/lib/routes/admin-api/config.test.ts index 6ac6a13f9c..d64b5d63b3 100644 --- a/src/lib/routes/admin-api/config.test.ts +++ b/src/lib/routes/admin-api/config.test.ts @@ -71,11 +71,11 @@ describe('displayUpgradeEdgeBanner', () => { expect(body.flags).toBeTruthy(); expect(body.flags.displayUpgradeEdgeBanner).toBeTruthy(); }); - test('ui config should not get displayUpgradeEdgeBanner flag if edge >= 17.0.0 has been seen', async () => { + test('ui config should not get displayUpgradeEdgeBanner flag if edge >= 19.1.3 has been seen', async () => { await stores.clientInstanceStore.insert({ appName: 'my-app', instanceId: 'some-instance', - sdkVersion: 'unleash-edge:17.1.0', + sdkVersion: 'unleash-edge:19.1.4', }); const { body } = await request .get(`${base}/api/admin/ui-config`) diff --git a/src/lib/routes/admin-api/config.ts b/src/lib/routes/admin-api/config.ts index c7eef8d322..31c3fe2e4a 100644 --- a/src/lib/routes/admin-api/config.ts +++ b/src/lib/routes/admin-api/config.ts @@ -79,7 +79,7 @@ class ConfigController extends Controller { async () => this.clientInstanceService.usesSdkOlderThan( 'unleash-edge', - '17.0.0', + '19.1.3', ), { promise: true,