4 eval { require Apache::FakeRequest; };
6 plan skip_all => 'skip Apache::FakeRequest not found';
12 my $request = Apache::FakeRequest->new('get_remote_host' => 'localhost');
14 my $info = Apache::Gallery::get_imageinfo($request, "t/005_jpg.jpg", "JPG", 15, 11);
16 is ( $info->{Comment}, "Created with The GIMP", 'Comment');