Skip to content

Commit

Permalink
update launch date utc test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewmeyer committed Jul 13, 2018
1 parent 0cce078 commit 1bfd558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/builders/launch-query.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ test('It should return launches in 2017', async () => {
});

test('It should return flight 42 with given launch date in UTC', async () => {
const response = await request(app.callback()).get('/v2/launches?launch_date_utc=2017-06-23T19:10:00Z');
const response = await request(app.callback()).get('/v2/launches?launch_date_utc=2017-06-23T19:10:00.000Z');
expect(response.statusCode).toBe(200);
response.body.forEach((item) => {
expect(item).toHaveProperty('flight_number', 42);
Expand Down

0 comments on commit 1bfd558

Please sign in to comment.