Skip to content

Commit

Permalink
Uppercase Date import
Browse files Browse the repository at this point in the history
  • Loading branch information
saberlynx committed Jun 29, 2021
1 parent 2147e9e commit 5ffef5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gsa/src/web/entity/__tests__/box.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
import React from 'react';

import date, {setLocale} from 'gmp/models/date';
import Date, {setLocale} from 'gmp/models/date';

import {setTimezone} from 'web/store/usersettings/actions';
import {rendererWith} from 'web/utils/testing';
Expand All @@ -26,8 +26,8 @@ import EntityBox from '../box';

setLocale('en');

const date1 = date('2019-01-01T12:00:00Z');
const date2 = date('2019-02-02T12:00:00Z');
const date1 = Date('2019-01-01T12:00:00Z');
const date2 = Date('2019-02-02T12:00:00Z');

describe('EntityBox component tests', () => {
test('should render', () => {
Expand Down

0 comments on commit 5ffef5c

Please sign in to comment.