diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-25 15:16:13 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-25 15:16:13 +0000 |
commit | 777a1b20b93b3b00030925faa682d84fc668ee0c (patch) | |
tree | 59497fb3c627d6755a4df73228c9f56409297c2a /t/cobrand | |
parent | aa7dc8b25d8d267752e7654868ec5f4bf4e7565e (diff) | |
parent | fa50dc502b2049b331cf7ddf27c536b4100c3129 (diff) |
Merge remote-tracking branch 'origin/issues/commercial/1229-duplicate-reporting'
Diffstat (limited to 't/cobrand')
-rw-r--r-- | t/cobrand/restriction.t | 2 |
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(); |