diff options
Diffstat (limited to 't/app/controller/json.t')
-rw-r--r-- | t/app/controller/json.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/json.t b/t/app/controller/json.t index 7c5dce786..d6820e1be 100644 --- a/t/app/controller/json.t +++ b/t/app/controller/json.t @@ -68,7 +68,7 @@ my $problem_args = { longitude => '-0.23021896608596', }; my $problem = $user->add_to_problems( { %$problem_args, anonymous => 0 } ); -my $anon_problem = $user->add_to_problems( { %$problem_args, anonymous => 1 } ); +my $anon_problem = $user->add_to_problems( { %$problem_args, anonymous => 1, confirmed => '2000-01-01 12:02:00' } ); ok $problem, "created normal test problem"; ok $anon_problem, "created anon test problem"; @@ -92,7 +92,7 @@ is_deeply # { 'anonymous' => 1, 'category' => 'test category', - 'confirmed' => '2000-01-01 12:01:00', + 'confirmed' => '2000-01-01 12:02:00', 'council' => 'Wandsworth Borough Council', 'detail' => 'Test detail', 'id' => $anon_problem->id, |