Skip to content

Commit

Permalink
Fix @Covers in MoneyTest
Browse files Browse the repository at this point in the history
  • Loading branch information
z38 committed Sep 6, 2014
1 parent 60372ba commit 39ab680
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/Z38/SwissPayment/Tests/Money/MoneyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class MoneyTest extends TestCase
{
/**
* @covers \Z38\SwissPayment\Money::getAmount
* @covers \Z38\SwissPayment\Money\Money::getAmount
*/
public function testGetAmount()
{
Expand All @@ -23,7 +23,7 @@ public function testGetAmount()
}

/**
* @covers \Z38\SwissPayment\Money::equals
* @covers \Z38\SwissPayment\Money\Money::equals
*/
public function testEquals()
{
Expand All @@ -41,9 +41,9 @@ public function testEquals()

/**
* @dataProvider validSamplePairs
* @covers \Z38\SwissPayment\Money::plus
* @covers \Z38\SwissPayment\Money::minus
* @covers \Z38\SwissPayment\Money::compareTo
* @covers \Z38\SwissPayment\Money\Money::plus
* @covers \Z38\SwissPayment\Money\Money::minus
* @covers \Z38\SwissPayment\Money\Money::compareTo
*/
public function testBinaryOperands($a, $b, $expectedSum, $expectedDiff, $expectedComparison)
{
Expand All @@ -55,7 +55,7 @@ public function testBinaryOperands($a, $b, $expectedSum, $expectedDiff, $expecte
/**
* @expectedException \InvalidArgumentException
* @dataProvider invalidSamplePairs
* @covers \Z38\SwissPayment\Money::plus
* @covers \Z38\SwissPayment\Money\Money::plus
*/
public function testInvalidPlus($a, $b)
{
Expand All @@ -65,7 +65,7 @@ public function testInvalidPlus($a, $b)
/**
* @expectedException \InvalidArgumentException
* @dataProvider invalidSamplePairs
* @covers \Z38\SwissPayment\Money::minus
* @covers \Z38\SwissPayment\Money\Money::minus
*/
public function testInvalidMinus($a, $b)
{
Expand All @@ -75,7 +75,7 @@ public function testInvalidMinus($a, $b)
/**
* @expectedException \InvalidArgumentException
* @dataProvider invalidSamplePairs
* @covers \Z38\SwissPayment\Money::minus
* @covers \Z38\SwissPayment\Money\Money::minus
*/
public function testInvalidCompareTo($a, $b)
{
Expand Down

0 comments on commit 39ab680

Please sign in to comment.