5 use lib
'../sgn/t/lib';
6 use SGN
::Test
::WWW
::Mechanize
;
7 use Test
::More tests
=> 4;
10 use CXGN
::Phenome
::GenericGenePage
;
12 $SIG{__DIE__
} = \
&Carp
::confess
;
15 CXGN
::Phenome
::GenericGenePage
->new( -id
=> 428 )
16 } qr/-dbh/, 'dies without dbh param';
18 my $m = SGN
::Test
::WWW
::Mechanize
->new();
20 my $dbh = $m->context->dbc->dbh;
22 my $ggp = CXGN
::Phenome
::GenericGenePage
27 test_xml
( $ggp->render_xml );
31 like
( $x, qr/dwarf/, 'result looks OK');
32 like
( $x, qr/<gene/, 'result looks OK');
33 like
( $x, qr/<data_provider>/, 'result looks OK');
36 #$dbh->disconnect(42);