Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
corymhall committed Dec 3, 2024
1 parent aea1309 commit be3caf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/converters/ssm-converter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe('process reference value', () => {
const value = resolveSSMDynamicPlaintextReference(parent, '{{resolve:ssm:MySecret}}');
await expect(pulumi.isSecret(value)).resolves.toBe(false);
const paramValue = await promiseOf(pulumi.unsecret(value));
expect(paramValue).toEqual(['abcd', 'efgh']);
expect(paramValue).toEqual('abcd,efgh');
});

test('SecureString value', async () => {
Expand Down Expand Up @@ -225,6 +225,6 @@ describe('SSM tests', () => {
// THEN
const subnet = converter.resources.get('db')?.resource as native.rds.DbInstance;
const value = await promiseOf(subnet.masterUserSecret);
expect(value).toEqual(['abcd', 'efgh']);
expect(value).toEqual('abcd,efgh');
});
});

0 comments on commit be3caf8

Please sign in to comment.