start fixing test for multi cat phenotype upload.
[sgn.git] / t / unit_fixture / SGN / Test / Fixture.t
blob35d317f7baf10473dfc907c1e8265e8c8f63fac1
2 use strict;
4 use Test::More qw | no_plan |;
6 use lib 't/lib';
8 use SGN::Test::Fixture;
10 my $fix = SGN::Test::Fixture->new();
12 is(ref($fix->config()), "HASH", 'hashref check');
14 my $q = "SELECT count(*) FROM stock";
15 my $h = $fix->dbh()->prepare($q);
16 $h->execute();
17 my $stock_count = $h->fetchrow_array();
18 ok($stock_count, "dbh test");
20 my $rs = $fix->bcs_schema->resultset("Stock::Stock")->search( {} );
21 ok($rs->count(), "bcs schema test");