65 - Extracting a Contract Test

This commit is contained in:
Adam Wathan
2017-01-18 15:18:50 -05:00
parent 529e4d83bc
commit 8c38d3c20c
5 changed files with 41 additions and 44 deletions

View File

@@ -35,7 +35,7 @@ class FakePaymentGateway implements PaymentGateway
{
$chargesFrom = $this->charges->count();
$callback($this);
return $this->charges->slice($chargesFrom)->values();
return $this->charges->slice($chargesFrom)->reverse()->values();
}
public function totalCharges()