Planets: Add test code
parent
eb12d50436
commit
4aba82a4cd
|
@ -4,10 +4,16 @@ use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use Test::More;
|
use Test::More;
|
||||||
use DDG::Test::Goodie;
|
use DDG::Test::Goodie;
|
||||||
|
use DDG::Test::Location;
|
||||||
|
|
||||||
zci answer_type => "planets";
|
zci answer_type => "planets";
|
||||||
zci is_cached => 1;
|
zci is_cached => 1;
|
||||||
|
|
||||||
|
# Test Code # START
|
||||||
|
my $test_location = test_location('us');
|
||||||
|
my $location = $test_location->country_code;
|
||||||
|
# Test Code # END
|
||||||
|
|
||||||
ddg_goodie_test(
|
ddg_goodie_test(
|
||||||
[qw( DDG::Goodie::Planets )],
|
[qw( DDG::Goodie::Planets )],
|
||||||
# At a minimum, be sure to include tests for all:
|
# At a minimum, be sure to include tests for all:
|
||||||
|
|
Loading…
Reference in New Issue