aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand/restriction.t
diff options
context:
space:
mode:
Diffstat (limited to 't/cobrand/restriction.t')
-rw-r--r--t/cobrand/restriction.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/cobrand/restriction.t b/t/cobrand/restriction.t
index 9e3018625..63fe326b1 100644
--- a/t/cobrand/restriction.t
+++ b/t/cobrand/restriction.t
@@ -47,7 +47,7 @@ is($c->model('DB::Problem')->count, 4, 'Four reports in database');
is($cobrand->problems->count, 2, 'Two reports in the right cobrand');
is($cobrand->updates->count, 1, 'One update in the right cobrand');
-my $nearby = $c->model('DB::Nearby')->nearby($c, 5, [], 10, 0.003, 0.004);
+my $nearby = $c->model('DB::Nearby')->nearby($c, distance => 5, ids => [], limit => 10, latitude => 0.003, longitude => 0.004);
is(@$nearby, 1, 'One report close to the origin point');
done_testing();