Skip to content

Commit

Permalink
Fixing broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrall committed Dec 18, 2011
1 parent 18a65ce commit e64f5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Samurai/TransactionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function testCreditOnAuthorizeShouldBeSuccessful() {
public function testCreditFailuresShouldReturnInputAmountInvalid() {
$transaction = Samurai_Processor::theProcessor()->purchase($this->paymentMethod->token, 100.00);
$transaction->credit(100.10);
$this->assertTrue( $transaction->isSuccess() );
$this->assertFalse( $transaction->isSuccess() );
$this->assertEquals( 'The transaction amount was invalid.', $transaction->errors['input.amount'][0]->description );
}

Expand Down

0 comments on commit e64f5b6

Please sign in to comment.