diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-12-28 15:56:23 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-12-28 15:56:23 +0100 |
commit | a1a881bde53bc5eddcd7be4c52a9ce8053ca9c53 (patch) | |
tree | 75d4ac86cbbf62dafe22761962eb1dd245c77dab /t | |
parent | c2ccc508bdccc10febd1c0cc4b12d73a757aae72 (diff) |
code cleanup
Diffstat (limited to 't')
-rwxr-xr-x | t/20-app-dthumb.t | 6 |
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'); |