Planets: Add test code

master
Chris Wilson 2015-01-08 13:46:51 +11:00
parent eb12d50436
commit 4aba82a4cd
1 changed files with 6 additions and 0 deletions

View File

@ -4,10 +4,16 @@ use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
use DDG::Test::Location;
zci answer_type => "planets";
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(
[qw( DDG::Goodie::Planets )],
# At a minimum, be sure to include tests for all: