5 use Test
::More tests
=> 4;
8 use CXGN
::DB
::Connection
;
9 use CXGN
::Phenome
::GenericGenePage
;
11 $SIG{__DIE__
} = \
&Carp
::confess
;
14 CXGN
::Phenome
::GenericGenePage
->new( -id
=> 428 )
15 } qr/-dbh/, 'dies without dbh param';
18 my $dbh = CXGN
::DB
::Connection
->new;
19 my $ggp = CXGN
::Phenome
::GenericGenePage
24 test_xml
( $ggp->render_xml );
28 like
( $x, qr/dwarf/, 'result looks OK');
29 like
( $x, qr/<gene/, 'result looks OK');
30 like
( $x, qr/<data_provider>/, 'result looks OK');