Skip to content

Commit

Permalink
test(infra): update broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Antonio Ghiani committed Apr 19, 2023
1 parent 547963f commit 5120167
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { createInventoryViewMock } from '../../../common/inventory_views/invento
describe('InventoryViewsClient class', () => {
const mockFindInventoryList = (savedObjectsClient: jest.Mocked<SavedObjectsClientContract>) => {
const inventoryViewListMock = [
createInventoryViewMock('static', {
createInventoryViewMock('0', {
isDefault: true,
} as InventoryViewAttributes),
createInventoryViewMock('default_id', {
Expand Down Expand Up @@ -67,7 +67,7 @@ describe('InventoryViewsClient class', () => {
createInventoryViewsClient();

const inventoryViewListMock = [
createInventoryViewMock('static', {
createInventoryViewMock('0', {
isDefault: true,
} as InventoryViewAttributes),
];
Expand Down Expand Up @@ -244,7 +244,7 @@ const basicTestSourceConfiguration: InfraSource = {
message: [],
},
metricAlias: 'METRIC_ALIAS',
inventoryDefaultView: 'static',
inventoryDefaultView: '0',
metricsExplorerDefaultView: 'METRICS_EXPLORER_DEFAULT_VIEW',
anomalyThreshold: 0,
},
Expand Down

0 comments on commit 5120167

Please sign in to comment.