summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-12-28 15:56:23 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-12-28 15:56:23 +0100
commita1a881bde53bc5eddcd7be4c52a9ce8053ca9c53 (patch)
tree75d4ac86cbbf62dafe22761962eb1dd245c77dab /t
parentc2ccc508bdccc10febd1c0cc4b12d73a757aae72 (diff)
code cleanup
Diffstat (limited to 't')
-rwxr-xr-xt/20-app-dthumb.t6
1 files changed, 1 insertions, 5 deletions
diff --git a/t/20-app-dthumb.t b/t/20-app-dthumb.t
index 37e72a0..9be60de 100755
--- a/t/20-app-dthumb.t
+++ b/t/20-app-dthumb.t
@@ -4,7 +4,7 @@ use warnings;
use 5.010;
use autodie;
-use Test::More tests => 16;
+use Test::More tests => 14;
use_ok('App::Dthumb');
@@ -20,16 +20,12 @@ is($dthumb->{config}->{dir_thumbs}, './.thumbs',
'Thumbnail directory is dthumbs');
is($dthumb->{config}->{file_index}, 'index.html', 'index is index.html');
-is($dthumb->{config}->{lightbox}, 1, 'Lightbox enabled');
is($dthumb->{config}->{names} , 1, 'Show image names');
is($dthumb->{config}->{quality} , 75, 'Default quality');
is($dthumb->{config}->{recreate}, 0, 'Do not recreate');
is($dthumb->{config}->{size} , 200, 'Default size');
is($dthumb->{config}->{spacing} , 1.1, 'Default spacing');
-$dthumb = App::Dthumb->new('no-lightbox' => 1);
-is($dthumb->{config}->{lightbox}, 0, 'Lightbox disabled');
-
$dthumb = App::Dthumb->new('no-names' => 1);
is($dthumb->{config}->{names}, 0, 'Image names disabled');