Skip to content

Commit

Permalink
fix(deployment-plugin): add default basic auth username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme committed May 7, 2024
1 parent b346b79 commit 114286b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ export default class DeploymentPlugin extends PureComponent {

async getDefaultEndpoint(tab) {
const credentials = {
basicAuthUsername: '',
basicAuthPassword: '',
clientId: '',
clientSecret: '',
camundaCloudClientId: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ describe('<DeploymentPlugin> (Zeebe)', () => {
await instance.deploy();

// then
expect(getDefaultEndpointSpy.args[0][0]).to.have.property('basicAuthUsername', '');
expect(getDefaultEndpointSpy.args[0][0]).to.have.property('basicAuthPassword', '');
expect(getDefaultEndpointSpy.args[0][0]).to.have.property('clientId', '');
expect(getDefaultEndpointSpy.args[0][0]).to.have.property('clientSecret', '');
expect(getDefaultEndpointSpy.args[0][0]).to.have.property('camundaCloudClientId', '');
Expand Down

0 comments on commit 114286b

Please sign in to comment.