Lines 840-843
is( $order3->{'quantityreceived'}, 2, 'Order not split up' );
Link Here
|
840 |
is( $order3->{'quantity'}, 2, '2 items on order' ); |
840 |
is( $order3->{'quantity'}, 2, '2 items on order' ); |
841 |
is( $order3->{'budget_id'}, $budgetid2, 'Budget has changed' ); |
841 |
is( $order3->{'budget_id'}, $budgetid2, 'Budget has changed' ); |
842 |
|
842 |
|
|
|
843 |
my $nonexistent_order = GetOrder(); |
844 |
is( $nonexistent_order, undef, 'GetOrder returns undef if no ordernumber is given' ); |
845 |
$nonexistent_order = GetOrder( 424242424242 ); |
846 |
is( $nonexistent_order, undef, 'GetOrder returns undef if a nonexistent ordernumber is given' ); |
847 |
|
843 |
$dbh->rollback; |
848 |
$dbh->rollback; |
844 |
- |
|
|