5 use SGN::Test::Fixture;
7 use Test::WWW::Mechanize;
10 local $Data::Dumper::Indent = 0;
12 my $f = SGN::Test::Fixture->new();
13 my $schema = $f->bcs_schema;
15 my $mech = Test::WWW::Mechanize->new;
18 $mech->post_ok('http://localhost:3010/barcode/stock/download/pdf/',["stock_names" => "TestAccession1", "select_barcode_type" => "1D"] );
20 $mech->content_contains('/static/documents/tempfiles/pdfs/pdf-');
21 #$response = $mech->content;
22 #print STDERR Dumper $response;