Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Jun 8, 2023
1 parent ca7763c commit ec0cc3b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ exports[`Add Integration Flyout Test Renders add integration flyout with dummy i
class="euiFormLegend"
>
<span>
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
</span>
</legend>
<div
Expand Down Expand Up @@ -527,7 +528,8 @@ exports[`Add Integration Flyout Test Renders add integration flyout with dummy i
class="euiFormLegend"
>
<span>
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
</span>
</legend>
<div
Expand Down Expand Up @@ -901,7 +903,8 @@ exports[`Add Integration Flyout Test Renders add integration flyout with dummy i
class="euiFormLegend"
>
<span>
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
</span>
</legend>
<div
Expand Down Expand Up @@ -1275,7 +1278,8 @@ exports[`Add Integration Flyout Test Renders add integration flyout with dummy i
class="euiFormLegend"
>
<span>
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
</span>
</legend>
<div
Expand Down Expand Up @@ -1637,7 +1641,8 @@ exports[`Add Integration Flyout Test Renders add integration flyout with dummy i
class="euiFormLegend"
>
<span>
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
</span>
</legend>
<div
Expand Down Expand Up @@ -2068,7 +2073,8 @@ exports[`Add Integration Flyout Test Renders add integration flyout with dummy i
legend={
Object {
"children": <span>
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
</span>,
"compressed": undefined,
}
Expand All @@ -2092,7 +2098,8 @@ exports[`Add Integration Flyout Test Renders add integration flyout with dummy i
legend={
Object {
"children": <span>
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
</span>,
"compressed": undefined,
}
Expand All @@ -2104,7 +2111,8 @@ exports[`Add Integration Flyout Test Renders add integration flyout with dummy i
className="euiFormLegend"
>
<span>
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
Add an integration based on a SS4O compliant existing index pattern or data stream or create a SS4O compliant data source for this integration to read from
</span>
</legend>
</EuiFormLegend>
Expand Down
4 changes: 2 additions & 2 deletions server/adaptors/integrations/integrations_kibana_backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export class IntegrationsKibanaBackend implements IntegrationsAdaptor {
.forEach(async (element) => {
await this.client.delete(element.type, element.id);
});
const result = await this.client.delete('integration-instance', id);
await this.client.delete('integration-instance', id);
}
return Promise.resolve(result);
return Promise.resolve({});
};

getIntegrationTemplates = async (
Expand Down

0 comments on commit ec0cc3b

Please sign in to comment.