From f7c6c929eaca3ea19a476ea60ff4cfaca9ee5bb3 Mon Sep 17 00:00:00 2001 From: Pererinha Date: Thu, 24 Sep 2015 16:26:02 -0300 Subject: [PATCH] fixed settlment test fail --- travis/Tests/SettlementTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/travis/Tests/SettlementTest.php b/travis/Tests/SettlementTest.php index d7f6f442d..9b4f3e4fc 100644 --- a/travis/Tests/SettlementTest.php +++ b/travis/Tests/SettlementTest.php @@ -196,7 +196,7 @@ class SettlementTest extends PHPUnit_Framework_TestCase { $this->assertEquals( $this->commissioned_payment_info[ 'total_spent' ], 20 ); $this->assertEquals( $this->commissioned_payment_info[ 'delivery_fee_collected' ], -3 ); $this->assertEquals( $this->commissioned_payment_info[ 'standard_reimburse' ], 10 ); - $this->assertEquals( $this->commissioned_payment_info[ 'total_payment_per_order' ], 0 ); + $this->assertEquals( $this->commissioned_payment_info[ 'total_payment_per_order' ], 7 ); $this->assertEquals( $this->commissioned_payment_info[ 'total_payment' ], 7 ); } @@ -213,7 +213,7 @@ class SettlementTest extends PHPUnit_Framework_TestCase { $this->assertEquals( $this->hourly_payment_info[ 'total_spent' ], 20 ); $this->assertEquals( $this->hourly_payment_info[ 'delivery_fee_collected' ], -3 ); $this->assertEquals( $this->hourly_payment_info[ 'standard_reimburse' ], 10 ); - $this->assertEquals( $this->hourly_payment_info[ 'total_payment_per_order' ], 0 ); + $this->assertEquals( $this->hourly_payment_info[ 'total_payment_per_order' ], 4 ); $this->assertEquals( $this->hourly_payment_info[ 'total_payment' ], 41 ); }