Lines 137-143
ModReserve({
Link Here
|
137 |
$reserve = GetReserve( $reserve_id ); |
137 |
$reserve = GetReserve( $reserve_id ); |
138 |
ok( $reserve->{'priority'} eq '4', "Test GetReserve(), priority changed correctly" ); |
138 |
ok( $reserve->{'priority'} eq '4', "Test GetReserve(), priority changed correctly" ); |
139 |
ok( $reserve->{'suspend'}, "Test GetReserve(), suspend hold" ); |
139 |
ok( $reserve->{'suspend'}, "Test GetReserve(), suspend hold" ); |
140 |
ok( $reserve->{'suspend_until'} eq '2013-01-01 00:00:00', "Test GetReserve(), suspend until date" ); |
140 |
is( $reserve->{'suspend_until'}, '2013-01-01 00:00:00', "Test GetReserve(), suspend until date" ); |
141 |
|
141 |
|
142 |
ToggleSuspend( $reserve_id ); |
142 |
ToggleSuspend( $reserve_id ); |
143 |
$reserve = GetReserve( $reserve_id ); |
143 |
$reserve = GetReserve( $reserve_id ); |
144 |
- |
|
|