From 4f7e2de43cf2074c4fa0fe08d23179bb165224e2 Mon Sep 17 00:00:00 2001 From: Tim Urista Date: Mon, 6 Jul 2020 10:01:19 -0700 Subject: [PATCH] add backstage identity in test --- plugins/auth-backend/src/providers/gitlab/provider.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/auth-backend/src/providers/gitlab/provider.test.ts b/plugins/auth-backend/src/providers/gitlab/provider.test.ts index 5eec6c47f9..d4d1de17ec 100644 --- a/plugins/auth-backend/src/providers/gitlab/provider.test.ts +++ b/plugins/auth-backend/src/providers/gitlab/provider.test.ts @@ -41,6 +41,9 @@ describe('GitlabAuthProvider', () => { }, }, expect: { + backstageIdentity: { + id: 'jimmymarkum', + }, providerInfo: { accessToken: '19xasczxcm9n7gacn9jdgm19me', expiresInSeconds: 100, @@ -74,6 +77,9 @@ describe('GitlabAuthProvider', () => { }, }, expect: { + backstageIdentity: { + id: 'daveboyle', + }, providerInfo: { accessToken: 'ajakljsdoiahoawxbrouawucmbawe.awkxjemaneasdxwe.sodijxqeqwexeqwxe',