Skip to content

Commit e9855d0

Browse files
author
Todd Bruner
committed
handler timing is off
1 parent 1932e96 commit e9855d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/api/handler.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ my $handler1 = $t->tx->res->json->{id};
3838

3939
$t ->post_ok ('/scot/api/v2/handler' => json => {
4040
username => "foobar",
41-
start => $toddtime + 9,
41+
start => $toddtime + 8,
4242
end => $toddtime + 29,
4343
})
4444
->status_is(200)
@@ -63,7 +63,7 @@ $t ->get_ok("/scot/api/v2/handler?current=$toddtime")
6363
->status_is(200)
6464
->json_is('/records/0/username' => 'tbruner');
6565

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

0 commit comments

Comments
 (0)