Merge pull request #1011 from carusogabriel/refactoring-tests

Refactoring tests
This commit is contained in:
Jay
2018-02-14 15:19:37 -06:00
committed by GitHub
9 changed files with 18 additions and 18 deletions

View File

@@ -55,7 +55,7 @@ class CreditCardHistoryTest extends TestCase
$cardHistory->setCreditCards(array($this->cards['partial'], $this->cards['full']));
$cardHistory->setCount(2);
$this->assertEquals(2, count($cardHistory->getCreditCards()));
$this->assertCount(2, $cardHistory->getCreditCards());
}