|
1 | 1 | /** |
2 | | - * (C) Copyright IBM Corp. 2018, 2020. |
| 2 | + * (C) Copyright IBM Corp. 2021. |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
@@ -4524,7 +4524,7 @@ describe('DiscoveryV1', () => { |
4524 | 4524 | const eventDataModel = { |
4525 | 4525 | environment_id: 'testString', |
4526 | 4526 | session_token: 'testString', |
4527 | | - client_timestamp: '2019-01-01T12:00:00', |
| 4527 | + client_timestamp: '2019-01-01T12:00:00.000Z', |
4528 | 4528 | display_rank: 38, |
4529 | 4529 | collection_id: 'testString', |
4530 | 4530 | document_id: 'testString', |
@@ -4667,8 +4667,8 @@ describe('DiscoveryV1', () => { |
4667 | 4667 | describe('positive tests', () => { |
4668 | 4668 | test('should pass the right params to createRequest', () => { |
4669 | 4669 | // Construct the params object for operation getMetricsQuery |
4670 | | - const startTime = '2019-01-01T12:00:00'; |
4671 | | - const endTime = '2019-01-01T12:00:00'; |
| 4670 | + const startTime = '2019-01-01T12:00:00.000Z'; |
| 4671 | + const endTime = '2019-01-01T12:00:00.000Z'; |
4672 | 4672 | const resultType = 'document'; |
4673 | 4673 | const params = { |
4674 | 4674 | startTime: startTime, |
@@ -4722,8 +4722,8 @@ describe('DiscoveryV1', () => { |
4722 | 4722 | describe('positive tests', () => { |
4723 | 4723 | test('should pass the right params to createRequest', () => { |
4724 | 4724 | // Construct the params object for operation getMetricsQueryEvent |
4725 | | - const startTime = '2019-01-01T12:00:00'; |
4726 | | - const endTime = '2019-01-01T12:00:00'; |
| 4725 | + const startTime = '2019-01-01T12:00:00.000Z'; |
| 4726 | + const endTime = '2019-01-01T12:00:00.000Z'; |
4727 | 4727 | const resultType = 'document'; |
4728 | 4728 | const params = { |
4729 | 4729 | startTime: startTime, |
@@ -4777,8 +4777,8 @@ describe('DiscoveryV1', () => { |
4777 | 4777 | describe('positive tests', () => { |
4778 | 4778 | test('should pass the right params to createRequest', () => { |
4779 | 4779 | // Construct the params object for operation getMetricsQueryNoResults |
4780 | | - const startTime = '2019-01-01T12:00:00'; |
4781 | | - const endTime = '2019-01-01T12:00:00'; |
| 4780 | + const startTime = '2019-01-01T12:00:00.000Z'; |
| 4781 | + const endTime = '2019-01-01T12:00:00.000Z'; |
4782 | 4782 | const resultType = 'document'; |
4783 | 4783 | const params = { |
4784 | 4784 | startTime: startTime, |
@@ -4832,8 +4832,8 @@ describe('DiscoveryV1', () => { |
4832 | 4832 | describe('positive tests', () => { |
4833 | 4833 | test('should pass the right params to createRequest', () => { |
4834 | 4834 | // Construct the params object for operation getMetricsEventRate |
4835 | | - const startTime = '2019-01-01T12:00:00'; |
4836 | | - const endTime = '2019-01-01T12:00:00'; |
| 4835 | + const startTime = '2019-01-01T12:00:00.000Z'; |
| 4836 | + const endTime = '2019-01-01T12:00:00.000Z'; |
4837 | 4837 | const resultType = 'document'; |
4838 | 4838 | const params = { |
4839 | 4839 | startTime: startTime, |
|
0 commit comments