Skip to content

Commit

Permalink
fix data source integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maximpn committed Feb 4, 2025
1 parent 32c9e2a commit 5cce9ae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ export function dataSourceField({ getService }: FtrProviderContext): void {
num_fields_with_conflicts: 0,
num_fields_with_non_solvable_conflicts: 0,
});
expect(response.rules[0].diff.fields).toMatchObject({
expect(response.rules[0].diff.fields).not.toMatchObject({
data_source: expect.anything(),
});
});
Expand Down Expand Up @@ -752,7 +752,7 @@ export function dataSourceField({ getService }: FtrProviderContext): void {
expect(response.results.updated[0]).toMatchObject({
data_view_id: 'dataViewResolved',
});
expect(upgradedRule.body).not.toMatchObject({
expect(upgradedRule.body).toMatchObject({
data_view_id: 'dataViewResolved',
});
});
Expand Down

0 comments on commit 5cce9ae

Please sign in to comment.