Skip to content

Commit

Permalink
Test: Modifying area code as it fails
Browse files Browse the repository at this point in the history
Area.t fails at line 45 because the API returns something different
than expected, even by the API doc. ext:score is not there, it's
ns2:score now.
  • Loading branch information
charlene committed Aug 28, 2018
1 parent 4346b76 commit de9783d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/Area.t
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ sleep(1);
my $s5_res = $ws->search(area => { iso => 'US-CA', fmt => 'xml' });
exit_if_mb_busy($s5_res);
ok($s5_res->find('name')->first->text eq 'California');
ok($s5_res->at('area')->attr('ext:score') == 100);
ok($s5_res->at('area')->attr('ns2:score') == 100);
sleep(1);

done_testing();

0 comments on commit de9783d

Please sign in to comment.