Skip to content

Commit

Permalink
[#216 state:resolved] Adding skip call for image tests if the image d…
Browse files Browse the repository at this point in the history
…river is not present or installed

Signed-off-by: Open Melody Software Group <admin@openmelody.org>
  • Loading branch information
byrnereese authored and Open Melody Software Group committed Dec 10, 2009
1 parent a1b1f52 commit 8c2ff9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/09-image.t
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ for my $rec (@Img) {
$cfg->ImageDriver($driver);
my $img = MT::Image->new( Filename => $img_file );
SKIP : {
# skip("no $driver image", 19) unless $img;
skip("no $driver image", 19) unless $img;
isa_ok($img, 'MT::Image::' . $driver, "driver $driver with image $img_file is an MT::Image::$driver");
# diag( MT::Image->errstr ) if MT::Image->errstr;

Expand Down

0 comments on commit 8c2ff9a

Please sign in to comment.