Skip to content

Commit

Permalink
handler timing is off
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Bruner committed Jun 1, 2018
1 parent 1932e96 commit e9855d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/api/handler.t
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ my $handler1 = $t->tx->res->json->{id};

$t ->post_ok ('/scot/api/v2/handler' => json => {
username => "foobar",
start => $toddtime + 9,
start => $toddtime + 8,
end => $toddtime + 29,
})
->status_is(200)
Expand All @@ -63,7 +63,7 @@ $t ->get_ok("/scot/api/v2/handler?current=$toddtime")
->status_is(200)
->json_is('/records/0/username' => 'tbruner');

my $tt = $toddtime +9;
my $tt = $toddtime +8;
$t ->get_ok("/scot/api/v2/handler?current=$tt")
->status_is(200)
->json_is('/records/0/username' => 'tbruner')
Expand Down

0 comments on commit e9855d0

Please sign in to comment.