mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
parent
ea307e13b6
commit
72fba8bf64
30 changed files with 1405 additions and 44 deletions
|
@ -29,7 +29,9 @@ describe('the InfraSources lib', () => {
|
|||
},
|
||||
});
|
||||
|
||||
expect(await sourcesLib.getSourceConfiguration(request, 'TEST_ID')).toMatchObject({
|
||||
expect(
|
||||
await sourcesLib.getSourceConfiguration(request.core.savedObjects.client, 'TEST_ID')
|
||||
).toMatchObject({
|
||||
id: 'TEST_ID',
|
||||
version: 'foo',
|
||||
updatedAt: 946684800000,
|
||||
|
@ -74,7 +76,9 @@ describe('the InfraSources lib', () => {
|
|||
},
|
||||
});
|
||||
|
||||
expect(await sourcesLib.getSourceConfiguration(request, 'TEST_ID')).toMatchObject({
|
||||
expect(
|
||||
await sourcesLib.getSourceConfiguration(request.core.savedObjects.client, 'TEST_ID')
|
||||
).toMatchObject({
|
||||
id: 'TEST_ID',
|
||||
version: 'foo',
|
||||
updatedAt: 946684800000,
|
||||
|
@ -104,7 +108,9 @@ describe('the InfraSources lib', () => {
|
|||
attributes: {},
|
||||
});
|
||||
|
||||
expect(await sourcesLib.getSourceConfiguration(request, 'TEST_ID')).toMatchObject({
|
||||
expect(
|
||||
await sourcesLib.getSourceConfiguration(request.core.savedObjects.client, 'TEST_ID')
|
||||
).toMatchObject({
|
||||
id: 'TEST_ID',
|
||||
version: 'foo',
|
||||
updatedAt: 946684800000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue