Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ymao1 committed Jul 28, 2021
1 parent 03c34ad commit 3a2078c
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions x-pack/plugins/actions/server/saved_objects/migrations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,7 @@ describe('handles errors during migrations', () => {
`encryptedSavedObject 7.10.0 migration failed for action ${action.id} with error: Can't migrate!`,
{
migrations: {
actionDocument: {
...action,
attributes: {
...action.attributes,
},
},
actionDocument: action,
},
}
);
Expand All @@ -162,12 +157,7 @@ describe('handles errors during migrations', () => {
`encryptedSavedObject 7.11.0 migration failed for action ${action.id} with error: Can't migrate!`,
{
migrations: {
actionDocument: {
...action,
attributes: {
...action.attributes,
},
},
actionDocument: action,
},
}
);
Expand All @@ -185,12 +175,7 @@ describe('handles errors during migrations', () => {
`encryptedSavedObject 7.14.0 migration failed for action ${action.id} with error: Can't migrate!`,
{
migrations: {
actionDocument: {
...action,
attributes: {
...action.attributes,
},
},
actionDocument: action,
},
}
);
Expand Down

0 comments on commit 3a2078c

Please sign in to comment.