From a92319eb01a06c5cbc7294145d14f9e40567df0c Mon Sep 17 00:00:00 2001 From: snowiow Date: Wed, 3 Jan 2024 09:07:00 +0100 Subject: [PATCH] fix tests owner is now an enum --- test/codebuild.test.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/test/codebuild.test.ts b/test/codebuild.test.ts index 6030030fb..e246a8320 100644 --- a/test/codebuild.test.ts +++ b/test/codebuild.test.ts @@ -6,9 +6,9 @@ describe('getCodeBuildsFromActions', () => { { name: 'nothing matches', actionTypeId: { - category: 'SomeCategory', + category: 'Source', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -17,7 +17,7 @@ describe('getCodeBuildsFromActions', () => { actionTypeId: { category: 'Build', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -26,7 +26,7 @@ describe('getCodeBuildsFromActions', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, configuration: { @@ -38,7 +38,7 @@ describe('getCodeBuildsFromActions', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -57,9 +57,9 @@ describe('getCodeBuildsFromStages', () => { { name: 'nothing matches', actionTypeId: { - category: 'SomeCategory', + category: 'Source', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -68,7 +68,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -77,7 +77,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, configuration: { @@ -89,7 +89,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -103,7 +103,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, configuration: { @@ -115,7 +115,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'SomeCategory', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -124,7 +124,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -133,7 +133,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, configuration: { @@ -145,7 +145,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, },