From fd17d74f4df2181d8e5b6a451b3f654259b7caa6 Mon Sep 17 00:00:00 2001 From: Howard Edwards Date: Wed, 9 Oct 2024 15:56:35 -0400 Subject: [PATCH] Update tests mock data --- client/tests/BotRunTestStatusList.test.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/tests/BotRunTestStatusList.test.jsx b/client/tests/BotRunTestStatusList.test.jsx index d6e5cc5a3..96515cf54 100644 --- a/client/tests/BotRunTestStatusList.test.jsx +++ b/client/tests/BotRunTestStatusList.test.jsx @@ -26,7 +26,7 @@ test('correctly displays statuses for single COMPLETED test run', async () => { { id: '0', testResults: new Array(3).fill(null), - tester: { username: 'bot' }, + tester: { username: 'bot', isBot: true }, collectionJob: { status: COLLECTION_JOB_STATUS.COMPLETED, testStatus: [ @@ -59,7 +59,7 @@ test('correctly ignores test results from a human-submitted test plan run', asyn { id: '0', testResults: new Array(2).fill(null), - tester: { username: 'bot' }, + tester: { username: 'bot', isBot: true }, collectionJob: { status: COLLECTION_JOB_STATUS.COMPLETED, testStatus: [ @@ -71,7 +71,7 @@ test('correctly ignores test results from a human-submitted test plan run', asyn { id: '1', testResults: new Array(2).fill(null), - tester: { username: 'human' }, + tester: { username: 'human', isBot: false }, collectionJob: null } ]; @@ -95,7 +95,7 @@ test('correctly displays statuses for CANCELLED test run', async () => { { id: '0', testResults: new Array(2).fill(null), - tester: { username: 'bot' }, + tester: { username: 'bot', isBot: true }, collectionJob: { status: COLLECTION_JOB_STATUS.CANCELLED, testStatus: [ @@ -127,7 +127,7 @@ test('correctly displays statuses for multiple RUNNING and QUEUED test runs', as { id: '0', testResults: new Array(2).fill(null), - tester: { username: 'bot' }, + tester: { username: 'bot', isBot: true }, collectionJob: { status: COLLECTION_JOB_STATUS.RUNNING, testStatus: [ @@ -140,7 +140,7 @@ test('correctly displays statuses for multiple RUNNING and QUEUED test runs', as { id: '1', testResults: new Array(2).fill(null), - tester: { username: 'bot' }, + tester: { username: 'bot', isBot: true }, collectionJob: { status: COLLECTION_JOB_STATUS.CANCELLED, testStatus: [