From: Peter Rabbitson Date: Thu, 11 Jun 2009 13:07:41 +0000 (+0000) Subject: Move file_column test to inflate/ too X-Git-Tag: v0.08106~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=100fd57fa074efe491dfb2c25fabb01b634014b7;p=dbsrgits%2FDBIx-Class.git Move file_column test to inflate/ too --- diff --git a/t/96file_column.t b/t/inflate/file_column.t similarity index 96% rename from t/96file_column.t rename to t/inflate/file_column.t index f4a166f..a9a75f0 100644 --- a/t/96file_column.t +++ b/t/inflate/file_column.t @@ -13,8 +13,8 @@ my $schema = DBICTest->init_schema(); plan tests => 10; my $rs = $schema->resultset('FileColumn'); -my $fname = '96file_column.t'; -my $source_file = file('t', $fname); +my $source_file = file(__FILE__); +my $fname = $source_file->basename; my $fh = $source_file->open('r') or die "failed to open $source_file: $!\n"; my $fc = eval { $rs->create({ file => { handle => $fh, filename => $fname } })