Lines 517-523
subtest 'Backend testing (mocks)' => sub {
Link Here
|
517 |
|
517 |
|
518 |
subtest 'Backend core methods' => sub { |
518 |
subtest 'Backend core methods' => sub { |
519 |
|
519 |
|
520 |
plan tests => 18; |
520 |
plan tests => 19; |
521 |
|
521 |
|
522 |
$schema->storage->txn_begin; |
522 |
$schema->storage->txn_begin; |
523 |
|
523 |
|
Lines 655-660
subtest 'Backend core methods' => sub {
Link Here
|
655 |
}, |
655 |
}, |
656 |
"Backend cancel: arbitrary stage."); |
656 |
"Backend cancel: arbitrary stage."); |
657 |
|
657 |
|
|
|
658 |
# backend_illview |
659 |
$backend->set_series('illview', { stage => '', method => 'illview' }); |
660 |
is_deeply($illrq->backend_illview({test => 1}), 0, |
661 |
"Backend illview optional method."); |
662 |
|
658 |
# backend_update_status |
663 |
# backend_update_status |
659 |
$backend->set_series('update_status', { stage => 'bar', method => 'update_status' }); |
664 |
$backend->set_series('update_status', { stage => 'bar', method => 'update_status' }); |
660 |
is_deeply($illrq->backend_update_status({test => 1}), |
665 |
is_deeply($illrq->backend_update_status({test => 1}), |
661 |
- |
|
|