|
Lines 403-409
$templates = get_all_templates( { orderby => 'rows DESC' } );
Link Here
|
| 403 |
$query = ' |
403 |
$query = ' |
| 404 |
SELECT count(*) |
404 |
SELECT count(*) |
| 405 |
FROM creator_templates |
405 |
FROM creator_templates |
| 406 |
ORDER BY rows DESC |
|
|
| 407 |
'; |
406 |
'; |
| 408 |
$count = $dbh->selectrow_array($query); |
407 |
$count = $dbh->selectrow_array($query); |
| 409 |
is( $count, 2, 'There are 2 templates' ); |
408 |
is( $count, 2, 'There are 2 templates' ); |
|
Lines 579-585
$layouts = get_all_layouts( { orderby => 'font_size DESC' } );
Link Here
|
| 579 |
$query = ' |
578 |
$query = ' |
| 580 |
SELECT count(*) |
579 |
SELECT count(*) |
| 581 |
FROM creator_layouts |
580 |
FROM creator_layouts |
| 582 |
ORDER BY font_size DESC |
|
|
| 583 |
'; |
581 |
'; |
| 584 |
$count = $dbh->selectrow_array($query); |
582 |
$count = $dbh->selectrow_array($query); |
| 585 |
is( $count, 2, 'There are layout matching' ); |
583 |
is( $count, 2, 'There are layout matching' ); |
| 586 |
- |
|
|