diff --git a/src/config/__tests__/__snapshots__/product.openshiftContainer.test.js.snap b/src/config/__tests__/__snapshots__/product.openshiftContainer.test.js.snap index f185b6c92..2b86a1680 100644 --- a/src/config/__tests__/__snapshots__/product.openshiftContainer.test.js.snap +++ b/src/config/__tests__/__snapshots__/product.openshiftContainer.test.js.snap @@ -11,7 +11,7 @@ Object { }, Object { "title": , }, ], @@ -44,7 +44,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", @@ -76,7 +76,7 @@ Object { }, Object { "title": , }, ], @@ -109,7 +109,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", @@ -141,7 +141,7 @@ Object { }, Object { "title": , }, ], @@ -184,7 +184,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", @@ -327,7 +327,7 @@ Object { "data": Object { "nextEventDate": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"nextEventDate\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "productName": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"productName\\"})", diff --git a/src/config/__tests__/__snapshots__/product.openshiftDedicated.test.js.snap b/src/config/__tests__/__snapshots__/product.openshiftDedicated.test.js.snap index bf20f8c57..8b53670b5 100644 --- a/src/config/__tests__/__snapshots__/product.openshiftDedicated.test.js.snap +++ b/src/config/__tests__/__snapshots__/product.openshiftDedicated.test.js.snap @@ -56,7 +56,7 @@ Object { }, Object { "title": , }, ], @@ -103,7 +103,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", diff --git a/src/config/__tests__/__snapshots__/product.openshiftMetrics.test.js.snap b/src/config/__tests__/__snapshots__/product.openshiftMetrics.test.js.snap index b0676a1e4..bc165d823 100644 --- a/src/config/__tests__/__snapshots__/product.openshiftMetrics.test.js.snap +++ b/src/config/__tests__/__snapshots__/product.openshiftMetrics.test.js.snap @@ -53,7 +53,7 @@ Object { }, Object { "title": , }, ], @@ -90,7 +90,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", diff --git a/src/config/__tests__/__snapshots__/product.rhel.test.js.snap b/src/config/__tests__/__snapshots__/product.rhel.test.js.snap index 8221dbeba..7c2356ba0 100644 --- a/src/config/__tests__/__snapshots__/product.rhel.test.js.snap +++ b/src/config/__tests__/__snapshots__/product.rhel.test.js.snap @@ -11,7 +11,7 @@ Object { }, Object { "title": , }, ], @@ -44,7 +44,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", @@ -76,7 +76,7 @@ Object { }, Object { "title": , }, ], @@ -109,7 +109,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", @@ -145,7 +145,7 @@ Object { }, Object { "title": , }, ], @@ -192,7 +192,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", @@ -359,7 +359,7 @@ Object { "data": Object { "nextEventDate": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"nextEventDate\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "productName": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"productName\\"})", diff --git a/src/config/__tests__/__snapshots__/product.rhosak.test.js.snap b/src/config/__tests__/__snapshots__/product.rhosak.test.js.snap index bcba72940..2df0e7d9d 100644 --- a/src/config/__tests__/__snapshots__/product.rhosak.test.js.snap +++ b/src/config/__tests__/__snapshots__/product.rhosak.test.js.snap @@ -17,7 +17,7 @@ Object { }, Object { "title": , }, ], @@ -70,7 +70,7 @@ Object { }, "last_seen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"last_seen\\"})", - "value": "2020-04-02T00:00:00Z", + "value": "2022-01-01T00:00:00.000Z", }, }, } @@ -102,7 +102,7 @@ Object { }, Object { "title": , }, ], @@ -159,7 +159,7 @@ Object { }, "last_seen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"last_seen\\"})", - "value": "2020-04-02T00:00:00Z", + "value": "2022-01-01T00:00:00.000Z", }, }, } @@ -269,7 +269,7 @@ Object { "data": Object { "nextEventDate": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"nextEventDate\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "productName": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"productName\\"})", diff --git a/src/config/__tests__/__snapshots__/product.satellite.test.js.snap b/src/config/__tests__/__snapshots__/product.satellite.test.js.snap index af776a071..9c1fcc06b 100644 --- a/src/config/__tests__/__snapshots__/product.satellite.test.js.snap +++ b/src/config/__tests__/__snapshots__/product.satellite.test.js.snap @@ -11,7 +11,7 @@ Object { }, Object { "title": , }, ], @@ -44,7 +44,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", @@ -76,7 +76,7 @@ Object { }, Object { "title": , }, ], @@ -109,7 +109,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", @@ -145,7 +145,7 @@ Object { }, Object { "title": , }, ], @@ -192,7 +192,7 @@ Object { }, "lastSeen": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"lastSeen\\"})", - "value": "lorem date obj", + "value": "2022-01-01T00:00:00.000Z", }, "loremIpsum": Object { "title": "t(curiosity-inventory.header, {\\"context\\":\\"loremIpsum\\"})", diff --git a/src/config/__tests__/product.openshiftContainer.test.js b/src/config/__tests__/product.openshiftContainer.test.js index 6a5a4c5e1..d83c2ed85 100644 --- a/src/config/__tests__/product.openshiftContainer.test.js +++ b/src/config/__tests__/product.openshiftContainer.test.js @@ -15,7 +15,7 @@ describe('Product OpenShift Container config', () => { numberOfGuests: 3, cores: 20, sockets: 100, - lastSeen: 'lorem date obj', + lastSeen: '2022-01-01T00:00:00.000Z', loremIpsum: 'hello world' }; @@ -52,7 +52,7 @@ describe('Product OpenShift Container config', () => { const inventoryData = { productName: 'lorem', serviceLevel: 'hello world', - nextEventDate: 'lorem date obj' + nextEventDate: '2022-01-01T00:00:00.000Z' }; const filteredInventoryData = parseRowCellsListData({ @@ -85,7 +85,7 @@ describe('Product OpenShift Container config', () => { displayName: 'lorem', inventoryId: 'lorem inventory id', subscriptionManagerId: 'lorem subscription id', - lastSeen: 'lorem date obj', + lastSeen: '2022-01-01T00:00:00.000Z', loremIpsum: 'hello world' }; diff --git a/src/config/__tests__/product.openshiftDedicated.test.js b/src/config/__tests__/product.openshiftDedicated.test.js index 988201f55..473ce3573 100644 --- a/src/config/__tests__/product.openshiftDedicated.test.js +++ b/src/config/__tests__/product.openshiftDedicated.test.js @@ -102,7 +102,7 @@ describe('Product OpenShift Dedicated config', () => { inventoryId: 'lorem inventory id', coreHours: 12.53, instanceHours: 20.04, - lastSeen: 'lorem date obj', + lastSeen: '2022-01-01T00:00:00.000Z', loremIpsum: 'hello world' }; diff --git a/src/config/__tests__/product.openshiftMetrics.test.js b/src/config/__tests__/product.openshiftMetrics.test.js index e4a065482..aa705b678 100644 --- a/src/config/__tests__/product.openshiftMetrics.test.js +++ b/src/config/__tests__/product.openshiftMetrics.test.js @@ -101,7 +101,7 @@ describe('Product OpenShift Metrics config', () => { displayName: 'lorem', inventoryId: 'lorem inventory id', coreHours: 12.53, - lastSeen: 'lorem date obj', + lastSeen: '2022-01-01T00:00:00.000Z', loremIpsum: 'hello world' }; diff --git a/src/config/__tests__/product.rhel.test.js b/src/config/__tests__/product.rhel.test.js index 027e98c8b..9a84ec5d3 100644 --- a/src/config/__tests__/product.rhel.test.js +++ b/src/config/__tests__/product.rhel.test.js @@ -17,7 +17,7 @@ describe('Product RHEL config', () => { numberOfGuests: 3, sockets: 10, cores: 12, - lastSeen: 'lorem date obj', + lastSeen: '2022-01-01T00:00:00.000Z', loremIpsum: 'hello world' }; @@ -52,7 +52,7 @@ describe('Product RHEL config', () => { const inventoryData = { productName: 'lorem', serviceLevel: 'hello world', - nextEventDate: 'lorem date obj' + nextEventDate: '2022-01-01T00:00:00.000Z' }; const filteredInventoryData = parseRowCellsListData({ @@ -85,7 +85,7 @@ describe('Product RHEL config', () => { displayName: 'lorem', inventoryId: 'lorem inventory id', subscriptionManagerId: 'lorem subscription id', - lastSeen: 'lorem date obj', + lastSeen: '2022-01-01T00:00:00.000Z', loremIpsum: 'hello world' }; diff --git a/src/config/__tests__/product.rhosak.test.js b/src/config/__tests__/product.rhosak.test.js index 31c8ac92d..4b23a14c5 100644 --- a/src/config/__tests__/product.rhosak.test.js +++ b/src/config/__tests__/product.rhosak.test.js @@ -58,7 +58,7 @@ describe('Product RHOSAK config', () => { [RHSM_API_PATH_METRIC_TYPES.TRANSFER_GIBIBYTES]: 0.0003456, [RHSM_API_PATH_METRIC_TYPES.STORAGE_GIBIBYTES]: 1000.00123, [RHSM_API_PATH_METRIC_TYPES.INSTANCE_HOURS]: 200, - [INVENTORY_TYPES.LAST_SEEN]: '2020-04-02T00:00:00Z' + [INVENTORY_TYPES.LAST_SEEN]: '2022-01-01T00:00:00.000Z' }; const filteredInventoryData = parseRowCellsListData({ @@ -89,7 +89,7 @@ describe('Product RHOSAK config', () => { const inventoryData = { productName: 'lorem', serviceLevel: 'hello world', - nextEventDate: 'lorem date obj' + nextEventDate: '2022-01-01T00:00:00.000Z' }; const filteredInventoryData = parseRowCellsListData({ diff --git a/src/config/__tests__/product.satellite.test.js b/src/config/__tests__/product.satellite.test.js index 0d0d64ffd..14e6f37b9 100644 --- a/src/config/__tests__/product.satellite.test.js +++ b/src/config/__tests__/product.satellite.test.js @@ -17,7 +17,7 @@ describe('Product Satellite config', () => { numberOfGuests: 3, sockets: 10, cores: 12, - lastSeen: 'lorem date obj', + lastSeen: '2022-01-01T00:00:00.000Z', loremIpsum: 'hello world' }; @@ -52,7 +52,7 @@ describe('Product Satellite config', () => { displayName: 'lorem', inventoryId: 'lorem inventory id', subscriptionManagerId: 'lorem subscription id', - lastSeen: 'lorem date obj', + lastSeen: '2022-01-01T00:00:00.000Z', loremIpsum: 'hello world' };