From 7a15afa827d002c04fc1887b9ba3a2f1c9801644 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 15 Sep 2022 17:56:11 +1000 Subject: [PATCH] Fixes for tests --- tests/Feature/CompanyGatewayResolutionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/CompanyGatewayResolutionTest.php b/tests/Feature/CompanyGatewayResolutionTest.php index 72f34e63b79c..ef294c2b26fc 100644 --- a/tests/Feature/CompanyGatewayResolutionTest.php +++ b/tests/Feature/CompanyGatewayResolutionTest.php @@ -233,6 +233,6 @@ class CompanyGatewayResolutionTest extends TestCase $this->cg->save(); $fee = $this->cg->calcGatewayFee(89, GatewayType::CREDIT_CARD, false); - $this->assertEquals(1.89, $fee); + $this->assertEquals(1.89, round($fee,2)); } }