diff --git a/client/src/plugins/zeebe-plugin/deployment-plugin/DeploymentPlugin.js b/client/src/plugins/zeebe-plugin/deployment-plugin/DeploymentPlugin.js index 03d1ea6abb..42537bc657 100644 --- a/client/src/plugins/zeebe-plugin/deployment-plugin/DeploymentPlugin.js +++ b/client/src/plugins/zeebe-plugin/deployment-plugin/DeploymentPlugin.js @@ -374,6 +374,8 @@ export default class DeploymentPlugin extends PureComponent { async getDefaultEndpoint(tab) { const credentials = { + basicAuthUsername: '', + basicAuthPassword: '', clientId: '', clientSecret: '', camundaCloudClientId: '', diff --git a/client/src/plugins/zeebe-plugin/deployment-plugin/__tests__/DeploymentPluginSpec.js b/client/src/plugins/zeebe-plugin/deployment-plugin/__tests__/DeploymentPluginSpec.js index 04467cd860..1a8414477f 100644 --- a/client/src/plugins/zeebe-plugin/deployment-plugin/__tests__/DeploymentPluginSpec.js +++ b/client/src/plugins/zeebe-plugin/deployment-plugin/__tests__/DeploymentPluginSpec.js @@ -306,6 +306,8 @@ describe(' (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', '');