Lines 18-24
Link Here
|
18 |
|
18 |
|
19 |
use Modern::Perl; |
19 |
use Modern::Perl; |
20 |
use Graphics::Magick; |
20 |
use Graphics::Magick; |
21 |
use Test::More tests => 644; |
21 |
use Test::More tests => 645; |
22 |
use Test::MockModule; |
22 |
use Test::MockModule; |
23 |
use t::lib::Mocks; |
23 |
use t::lib::Mocks; |
24 |
use t::lib::TestBuilder; |
24 |
use t::lib::TestBuilder; |
Lines 395-400
is( $templates->[0]->{row_gap}, 0.3, 'row_gap is good
Link Here
|
395 |
is( $templates->[0]->{units}, 'POINT', 'units is good' ); |
395 |
is( $templates->[0]->{units}, 'POINT', 'units is good' ); |
396 |
is( $templates->[0]->{creator}, 'Labels', 'creator is good' ); |
396 |
is( $templates->[0]->{creator}, 'Labels', 'creator is good' ); |
397 |
|
397 |
|
|
|
398 |
$templates = get_all_templates( { filters => { rows => [-42, 7]} } ); |
399 |
is( @$templates, $count, 'There is 1 template matching' ); |
398 |
# With orderby param ------------------ |
400 |
# With orderby param ------------------ |
399 |
$templates = get_all_templates( { orderby => 'rows DESC' } ); |
401 |
$templates = get_all_templates( { orderby => 'rows DESC' } ); |
400 |
|
402 |
|
401 |
- |
|
|