Skip to content

Commit

Permalink
fix: default integration provider id to match with the plugin id
Browse files Browse the repository at this point in the history
  • Loading branch information
jgiovaresco committed Mar 28, 2024
1 parent 2071783 commit 88b5aa1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -107,7 +107,7 @@ describe('CreateIntegrationComponent', () => {
const expectedPayload: CreateIntegrationPayload = {
name: 'TEST123',
description: '',
provider: 'AWS',
provider: 'amazon',
};
await componentHarness.setName('TEST123');
await componentHarness.clickOnSubmit();
Expand All @@ -118,7 +118,7 @@ describe('CreateIntegrationComponent', () => {
const expectedPayload: CreateIntegrationPayload = {
name: 'TEST123',
description: 'Test Description',
provider: 'AWS',
provider: 'amazon',
};
await componentHarness.setName('TEST123');
await componentHarness.setDescription('Test Description');
Expand Down
Expand Up @@ -51,7 +51,7 @@ export class CreateIntegrationComponent {
const payload: CreateIntegrationPayload = {
name: this.informationForm.controls.name.getRawValue(),
description: this.informationForm.controls.description.getRawValue(),
provider: 'AWS',
provider: 'amazon',
};

this.isLoading = true;
Expand Down

0 comments on commit 88b5aa1

Please sign in to comment.