Revision 010fd123
Von G. Richardson vor mehr als 4 Jahren hinzugefügt
t/shop/shop_order.t | ||
---|---|---|
39 | 39 |
)->save; |
40 | 40 |
} |
41 | 41 |
|
42 |
sub save_shorcontroller_to_string {
|
|
42 |
sub save_shopcontroller_to_string {
|
|
43 | 43 |
|
44 | 44 |
my $output; |
45 | 45 |
open(my $outputFH, '>', \$output) or die "OUTPUT"; |
46 | 46 |
my $oldFH = select $outputFH; |
47 |
my $shor_controller = SL::Controller::ShopOrder->new;
|
|
48 |
$shor_controller->action_transfer;
|
|
47 |
my $shop_controller = SL::Controller::ShopOrder->new;
|
|
48 |
$shop_controller->action_transfer;
|
|
49 | 49 |
|
50 | 50 |
select $oldFH; |
51 | 51 |
close $outputFH; |
... | ... | |
57 | 57 |
$::form->{import_id} = $params{import_id}; |
58 | 58 |
$::form->{customer} = $params{customer}; |
59 | 59 |
my $test_name = 'Test Controller Action Transfer'; |
60 |
save_shorcontroller_to_string();
|
|
60 |
save_shopcontroller_to_string();
|
|
61 | 61 |
my @links_record = RecordLinks->get_links( 'from_table' => 'shop_orders', |
62 | 62 |
'from_id' => $params{import_id}, |
63 | 63 |
'to_table' => 'oe', |
Auch abrufbar als: Unified diff
shop_order.t - typo: shop statt shor