From 4a1890a7f4ee385d07aeb6f1d1820c54d37076c3 Mon Sep 17 00:00:00 2001 From: Janki Salvi <117571355+js-jankisalvi@users.noreply.github.com> Date: Wed, 19 Jul 2023 16:04:09 +0200 Subject: [PATCH] sortField value fixed in security solution test --- .../detection_response/cases_table/use_case_items.test.ts | 2 +- .../components/detection_response/cases_table/use_case_items.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/security_solution/public/overview/components/detection_response/cases_table/use_case_items.test.ts b/x-pack/plugins/security_solution/public/overview/components/detection_response/cases_table/use_case_items.test.ts index 036ed835b46c..9076c0daa7da 100644 --- a/x-pack/plugins/security_solution/public/overview/components/detection_response/cases_table/use_case_items.test.ts +++ b/x-pack/plugins/security_solution/public/overview/components/detection_response/cases_table/use_case_items.test.ts @@ -77,7 +77,7 @@ describe('useCaseItems', () => { from: '2020-07-07T08:20:18.966Z', to: '2020-07-08T08:20:18.966Z', owner: 'securitySolution', - sortField: 'create_at', + sortField: 'createdAt', sortOrder: 'desc', page: 1, perPage: 4, diff --git a/x-pack/plugins/security_solution/public/overview/components/detection_response/cases_table/use_case_items.ts b/x-pack/plugins/security_solution/public/overview/components/detection_response/cases_table/use_case_items.ts index bd8c4eb15a65..a872172feba0 100644 --- a/x-pack/plugins/security_solution/public/overview/components/detection_response/cases_table/use_case_items.ts +++ b/x-pack/plugins/security_solution/public/overview/components/detection_response/cases_table/use_case_items.ts @@ -57,7 +57,7 @@ export const useCaseItems: UseCaseItems = ({ skip }) => { from, to, owner: APP_ID, - sortField: 'create_at', + sortField: 'createdAt', sortOrder: 'desc', page: 1, perPage: 4,