Skip to content

Commit

Permalink
[Cases] RBAC: Migrate routes' unit tests to integration tests (#96374)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
  • Loading branch information
cnasikas and jonathan-buttner committed Apr 14, 2021
1 parent e59602c commit 34f2d86
Show file tree
Hide file tree
Showing 71 changed files with 2,973 additions and 8,890 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/cases/common/api/cases/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export const CommentsResponseRt = rt.type({
export const AllCommentsResponseRt = rt.array(CommentResponseRt);

export type AttributesTypeAlerts = rt.TypeOf<typeof AttributesTypeAlertsRt>;
export type AttributesTypeUser = rt.TypeOf<typeof AttributesTypeUserRt>;
export type CommentAttributes = rt.TypeOf<typeof CommentAttributesRt>;
export type CommentRequest = rt.TypeOf<typeof CommentRequestRt>;
export type CommentResponse = rt.TypeOf<typeof CommentResponseRt>;
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/cases/common/api/cases/user_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export const CaseUserActionsResponseRt = rt.array(CaseUserActionResponseRT);

export type CaseUserActionAttributes = rt.TypeOf<typeof CaseUserActionAttributesRt>;
export type CaseUserActionsResponse = rt.TypeOf<typeof CaseUserActionsResponseRt>;
export type CaseUserActionResponse = rt.TypeOf<typeof CaseUserActionResponseRT>;

export type UserAction = rt.TypeOf<typeof UserActionRt>;
export type UserActionField = rt.TypeOf<typeof UserActionFieldRt>;
Expand Down
27 changes: 0 additions & 27 deletions x-pack/plugins/cases/server/client/alerts/update_status.test.ts

This file was deleted.

Loading

0 comments on commit 34f2d86

Please sign in to comment.