fixed settlment test fail

This commit is contained in:
Pererinha 2015-09-24 16:26:02 -03:00
parent 67b036c5f6
commit f7c6c929ea

View File

@ -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 );
}