start fixing test for multi cat phenotype upload.
[sgn.git] / t / unit_fixture / CXGN / Stock / 2DQRCode.t
blobc9d9925ef633cfb82a31de664cc00f3e3267b081
1 use strict;
2 use warnings;
4 use lib 't/lib';
5 use SGN::Test::Fixture;
6 use Test::More;
7 use Test::WWW::Mechanize;
9 use Data::Dumper;
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;
16 my $response;
18 $mech->post_ok('http://localhost:3010/barcode/stock/download/pdf/',["stock_names" => "TestAccession1", "select_barcode_type" => "1D"] );
19 ok($mech->success);
20 $mech->content_contains('/static/documents/tempfiles/pdfs/pdf-');
21 #$response = $mech->content;
22 #print STDERR Dumper $response;
25 done_testing();