Change to getValue() on Money class

This commit is contained in:
Nabeel Shahzad 2018-02-28 18:17:15 -06:00
parent f557e9f965
commit d1fcecf873

View File

@ -373,7 +373,7 @@ class FinanceTest extends TestCase
]);
$payment = $this->financeSvc->getPilotPilotPay($pirep_acars);
$this->assertEquals($payment->getAmount(), 100);
$this->assertEquals($payment->getValue(), 100);
$pirep_acars = factory(App\Models\Pirep::class)->create([
'user_id' => $this->user->id,
@ -383,6 +383,6 @@ class FinanceTest extends TestCase
]);
$payment = $this->financeSvc->getPilotPilotPay($pirep_acars);
$this->assertEquals($payment->getAmount(), 150);
$this->assertEquals($payment->getValue(), 150);
}
}