Skip to content

Commit 67e9683

Browse files
authored
[Fleet] Remove coreMigrationVersion from snapshot (#94235)
* Remove coreMigrationVersion from snapshot (cherry picked from commit a8b9b41) * Remove `latestVersion` too (cherry picked from commit 6f3949c)
1 parent 37c9c5c commit 67e9683

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/test/fleet_api_integration/apis/epm/__snapshots__/install_by_upload.snap

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/test/fleet_api_integration/apis/epm/install_by_upload.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ export default function (providerContext: FtrProviderContext) {
8888
.set('kbn-xsrf', 'xxxx')
8989
.expect(200);
9090

91+
delete packageInfoRes.body.response.latestVersion;
9192
delete packageInfoRes.body.response.savedObject.attributes.install_started_at;
9293
delete packageInfoRes.body.response.savedObject.version;
9394
delete packageInfoRes.body.response.savedObject.updated_at;
95+
delete packageInfoRes.body.response.savedObject.coreMigrationVersion;
9496

9597
expectSnapshot(packageInfoRes.body.response).toMatch();
9698
});

0 commit comments

Comments
 (0)