Lines 362-373
subtest 'Status Graph tests' => sub {
Link Here
|
362 |
ui_method_icon => 'fa-check', |
362 |
ui_method_icon => 'fa-check', |
363 |
}, |
363 |
}, |
364 |
GENREQ => { |
364 |
GENREQ => { |
365 |
prev_actions => [ 'NEW', 'REQREV' ], |
365 |
prev_actions => [ 'NEW', 'REQREV', 'GENREQ' ], |
366 |
id => 'GENREQ', |
366 |
id => 'GENREQ', |
367 |
name => 'Requested from partners', |
367 |
name => 'Requested from partners', |
368 |
ui_method_name => 'Place request with partners', |
368 |
ui_method_name => 'Place request with partners', |
369 |
method => 'generic_confirm', |
369 |
method => 'generic_confirm', |
370 |
next_actions => [ 'COMP', 'CHK' ], |
370 |
next_actions => [ 'COMP', 'CHK', 'GENREQ' ], |
371 |
ui_method_icon => 'fa-send-o', |
371 |
ui_method_icon => 'fa-send-o', |
372 |
}, |
372 |
}, |
373 |
REQREV => { |
373 |
REQREV => { |
Lines 481-492
subtest 'Status Graph tests' => sub {
Link Here
|
481 |
ui_method_icon => 'fa-check', |
481 |
ui_method_icon => 'fa-check', |
482 |
}, |
482 |
}, |
483 |
GENREQ => { |
483 |
GENREQ => { |
484 |
prev_actions => [ 'NEW', 'REQREV' ], |
484 |
prev_actions => [ 'NEW', 'REQREV', 'GENREQ' ], |
485 |
id => 'GENREQ', |
485 |
id => 'GENREQ', |
486 |
name => 'Requested from partners', |
486 |
name => 'Requested from partners', |
487 |
ui_method_name => 'Place request with partners', |
487 |
ui_method_name => 'Place request with partners', |
488 |
method => 'generic_confirm', |
488 |
method => 'generic_confirm', |
489 |
next_actions => [ 'COMP', 'CHK' ], |
489 |
next_actions => [ 'COMP', 'CHK', 'GENREQ' ], |
490 |
ui_method_icon => 'fa-send-o', |
490 |
ui_method_icon => 'fa-send-o', |
491 |
}, |
491 |
}, |
492 |
REQREV => { |
492 |
REQREV => { |
Lines 1564-1570
subtest 'Checking Limits' => sub {
Link Here
|
1564 |
|
1564 |
|
1565 |
subtest 'Custom statuses' => sub { |
1565 |
subtest 'Custom statuses' => sub { |
1566 |
|
1566 |
|
1567 |
plan tests => 3; |
1567 |
plan tests => 5; |
1568 |
|
1568 |
|
1569 |
$schema->storage->txn_begin; |
1569 |
$schema->storage->txn_begin; |
1570 |
|
1570 |
|
1571 |
- |
|
|