zeroclickinfo-goodies/t/ZappBrannigan.t

32 lines
680 B
Perl

#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use Test::Deep;
use DDG::Test::Goodie;
zci answer_type => 'zapp_brannigan';
zci is_cached => 0;
ddg_goodie_test(
[qw( DDG::Goodie::ZappBrannigan )],
'zapp brannigan quote' => test_zci(
re('Zapp Brannigan: '),
structured_answer => {
data => {
subtitle => 'Zapp Brannigan quote',
content => re('Zapp Brannigan: ')
},
templates => {
group => "text",
options => {
content => 'DDH.zapp_brannigan.content'
}
}
},
),
);
done_testing;