diff --git a/test/default.test.ts b/test/default.test.ts index 80cff02..6cc4438 100644 --- a/test/default.test.ts +++ b/test/default.test.ts @@ -29,7 +29,7 @@ describe('Create', () => { repositoryName: 'aws-cdk-staging-pipeline', customStack: (scope, _) => { customStack = new CustomStack(scope, 'TestCustomStack'); - customStack.cfnOutputs.Blub = { value: 'BlubValue' }; + customStack.cfnOutputs.Blub = new core.CfnOutput(customStack, 'OutputBlub', { value: 'BlubValue ' }); return customStack; }, gitHub: { owner: 'mmuller88', oauthToken: new core.SecretValue('repo-token') }, diff --git a/test/integ.default.ts b/test/integ.default.ts index 33a96ca..43d0391 100644 --- a/test/integ.default.ts +++ b/test/integ.default.ts @@ -22,7 +22,7 @@ export class IntegTesting { repositoryName: 'aws-cdk-staging-pipeline', customStack: (scope, _) => { const customStack = new CustomStack(scope, 'TestCustomStack'); - customStack.cfnOutputs.Blub = { value: 'BlubValue' }; + customStack.cfnOutputs.Blub = new core.CfnOutput(customStack, 'OutputBlub', { value: 'BlubValue ' }); return customStack; }, manualApprovals: (_) => true,