Skip to content

Commit

Permalink
Now passing in configuration file when instaniating MT.
Browse files Browse the repository at this point in the history
  • Loading branch information
tima committed Sep 30, 2010
1 parent 882d19c commit fb87d67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion t/35-tags.t
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ use MT::Builder;

require POSIX;

my $mt = MT->new();
use vars qw( $DB_DIR $T_CFG );

my $mt = MT->instance( Config => $T_CFG ) or die MT->errstr;

local $/ = undef;
open F, "<t/35-tags.dat";
Expand Down

0 comments on commit fb87d67

Please sign in to comment.