[Fleet] Remove coreMigrationVersion from snapshot (#94235)
* Remove coreMigrationVersion from snapshot (cherry picked from commita8b9b41a68
) * Remove `latestVersion` too (cherry picked from commit6f3949c8d8
)
This commit is contained in:
parent
37c9c5cc24
commit
67e968304e
|
@ -276,7 +276,6 @@ Object {
|
|||
"type": "image/svg+xml",
|
||||
},
|
||||
],
|
||||
"latestVersion": "0.3.3",
|
||||
"license": "basic",
|
||||
"name": "apache",
|
||||
"owner": Object {
|
||||
|
@ -664,7 +663,6 @@ Object {
|
|||
"removable": true,
|
||||
"version": "0.1.4",
|
||||
},
|
||||
"coreMigrationVersion": "8.0.0",
|
||||
"id": "apache",
|
||||
"namespaces": Array [],
|
||||
"references": Array [],
|
||||
|
|
|
@ -88,9 +88,11 @@ export default function (providerContext: FtrProviderContext) {
|
|||
.set('kbn-xsrf', 'xxxx')
|
||||
.expect(200);
|
||||
|
||||
delete packageInfoRes.body.response.latestVersion;
|
||||
delete packageInfoRes.body.response.savedObject.attributes.install_started_at;
|
||||
delete packageInfoRes.body.response.savedObject.version;
|
||||
delete packageInfoRes.body.response.savedObject.updated_at;
|
||||
delete packageInfoRes.body.response.savedObject.coreMigrationVersion;
|
||||
|
||||
expectSnapshot(packageInfoRes.body.response).toMatch();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue