Lines 636-642
subtest 'Backend testing (mocks)' => sub {
Link Here
|
636 |
|
636 |
|
637 |
subtest 'Backend core methods' => sub { |
637 |
subtest 'Backend core methods' => sub { |
638 |
|
638 |
|
639 |
plan tests => 18; |
639 |
plan tests => 19; |
640 |
|
640 |
|
641 |
$schema->storage->txn_begin; |
641 |
$schema->storage->txn_begin; |
642 |
|
642 |
|
Lines 774-779
subtest 'Backend core methods' => sub {
Link Here
|
774 |
}, |
774 |
}, |
775 |
"Backend cancel: arbitrary stage."); |
775 |
"Backend cancel: arbitrary stage."); |
776 |
|
776 |
|
|
|
777 |
# backend_illview |
778 |
$backend->set_series('illview', { stage => '', method => 'illview' }); |
779 |
is_deeply($illrq->backend_illview({test => 1}), 0, |
780 |
"Backend illview optional method."); |
781 |
|
777 |
# backend_update_status |
782 |
# backend_update_status |
778 |
$backend->set_series('update_status', { stage => 'bar', method => 'update_status' }); |
783 |
$backend->set_series('update_status', { stage => 'bar', method => 'update_status' }); |
779 |
is_deeply($illrq->backend_update_status({test => 1}), |
784 |
is_deeply($illrq->backend_update_status({test => 1}), |
780 |
- |
|
|