From d1fcecf873796e0907cbb93bf84afdb9bb7da3fe Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 28 Feb 2018 18:17:15 -0600 Subject: [PATCH] Change to getValue() on Money class --- tests/FinanceTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/FinanceTest.php b/tests/FinanceTest.php index 0e351dac..713f1ef4 100644 --- a/tests/FinanceTest.php +++ b/tests/FinanceTest.php @@ -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); } }