Skip to content

Commit

Permalink
Fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Muesch committed Jul 5, 2023
1 parent 08e3fd5 commit 6b80b82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/__tests__/version-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,14 @@ export const testDatabaseIntegration = (
environment: 'environment',
});

const name = `${deployment_node_id}/${options.database_name}`;
const database_user_node = new CloudNode({
name: `${deployment_node_id}/${options.database_name}`,
name,
component: 'component',
environment: 'environment',
inputs: {
type: 'databaseUser',
username: deployment_node_id.replaceAll('/', '--'),
username: name.replaceAll('/', '--'),
databaseSchema: `\${{ ${database_schema_node_id}.id }}`,
account: `\${{ ${database_schema_node_id}.account }}`,
},
Expand Down

0 comments on commit 6b80b82

Please sign in to comment.