Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Fixed error in theater scheduling test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinsc committed Feb 6, 2017
1 parent 226fda2 commit db002b9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/acceptance/appointments-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,12 @@ test('Appointment calendar', function(assert) {
test('Theater scheduling', function(assert) {
runWithPouchDump('appointments', function() {
authenticateUser();
let later = moment().add(2, 'hours');
let today = moment().add(1, 'hours');
let later = moment();
later.hour(11);
later.minute(30);
let today = moment();
today.hour(10);
today.minute(30);
let startTime = today.format(TIME_FORMAT);
let endTime = later.format(TIME_FORMAT);
let timeString = `${startTime} - ${endTime}`;
Expand Down

0 comments on commit db002b9

Please sign in to comment.