Skip to content

Commit fd17d74

Browse files
committed
Update tests mock data
1 parent f0bb6e9 commit fd17d74

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

client/tests/BotRunTestStatusList.test.jsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ test('correctly displays statuses for single COMPLETED test run', async () => {
2626
{
2727
id: '0',
2828
testResults: new Array(3).fill(null),
29-
tester: { username: 'bot' },
29+
tester: { username: 'bot', isBot: true },
3030
collectionJob: {
3131
status: COLLECTION_JOB_STATUS.COMPLETED,
3232
testStatus: [
@@ -59,7 +59,7 @@ test('correctly ignores test results from a human-submitted test plan run', asyn
5959
{
6060
id: '0',
6161
testResults: new Array(2).fill(null),
62-
tester: { username: 'bot' },
62+
tester: { username: 'bot', isBot: true },
6363
collectionJob: {
6464
status: COLLECTION_JOB_STATUS.COMPLETED,
6565
testStatus: [
@@ -71,7 +71,7 @@ test('correctly ignores test results from a human-submitted test plan run', asyn
7171
{
7272
id: '1',
7373
testResults: new Array(2).fill(null),
74-
tester: { username: 'human' },
74+
tester: { username: 'human', isBot: false },
7575
collectionJob: null
7676
}
7777
];
@@ -95,7 +95,7 @@ test('correctly displays statuses for CANCELLED test run', async () => {
9595
{
9696
id: '0',
9797
testResults: new Array(2).fill(null),
98-
tester: { username: 'bot' },
98+
tester: { username: 'bot', isBot: true },
9999
collectionJob: {
100100
status: COLLECTION_JOB_STATUS.CANCELLED,
101101
testStatus: [
@@ -127,7 +127,7 @@ test('correctly displays statuses for multiple RUNNING and QUEUED test runs', as
127127
{
128128
id: '0',
129129
testResults: new Array(2).fill(null),
130-
tester: { username: 'bot' },
130+
tester: { username: 'bot', isBot: true },
131131
collectionJob: {
132132
status: COLLECTION_JOB_STATUS.RUNNING,
133133
testStatus: [
@@ -140,7 +140,7 @@ test('correctly displays statuses for multiple RUNNING and QUEUED test runs', as
140140
{
141141
id: '1',
142142
testResults: new Array(2).fill(null),
143-
tester: { username: 'bot' },
143+
tester: { username: 'bot', isBot: true },
144144
collectionJob: {
145145
status: COLLECTION_JOB_STATUS.CANCELLED,
146146
testStatus: [

0 commit comments

Comments
 (0)