Undo casting time types to Time object #189

This commit is contained in:
Nabeel Shahzad
2018-02-11 20:50:48 -06:00
parent 61af5fe226
commit 2f8a69b774
3 changed files with 13 additions and 13 deletions

View File

@@ -67,7 +67,7 @@ class PIREPTest extends TestCase
* Now set the PIREP state to ACCEPTED
*/
$new_pirep_count = $pirep->pilot->flights + 1;
$original_flight_time = $pirep->pilot->flight_time ;
$original_flight_time = $pirep->pilot->flight_time;
$new_flight_time = $pirep->pilot->flight_time + $pirep->flight_time;
$this->pirepSvc->changeState($pirep, PirepState::ACCEPTED);