Skip to content

Commit a360a69

Browse files
updated changelog, fixed provider naming
1 parent 21f5165 commit a360a69

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Money Changelog
55
2.0.0.dev
66
---------
77

8+
- 2013-10-13 Base currency and counter currency in CurrencyPair named correctly.
89
- 2013-01-08 Removed the Doctrine2\MoneyType helper, to be replaced by something better in the future. It's available
910
at https://gist.github.com/4485025 in case you need it.
1011
- 2013-01-08 Use vendor/autoload.php instead of lib/bootstrap.php (or use PSR-0 autolaoding)

tests/Money/Tests/CurrencyPairTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function ParsesIsoWithException()
5151
/**
5252
* @expectedException \Money\InvalidArgumentException
5353
* @expectedExceptionMessage Ratio must be numeric
54-
* @dataProvider dataProviderNonNumericRatio
54+
* @dataProvider provideNonNumericRatio
5555
*/
5656
public function testConstructorWithNonNumericRatio($nonNumericRatio)
5757
{
@@ -92,7 +92,7 @@ public function testConvertWithInvalidCurrency()
9292
$pair->convert($money);
9393
}
9494

95-
public function dataProviderNonNumericRatio()
95+
public function provideNonNumericRatio()
9696
{
9797
return array(
9898
array('NonNumericRatio'),

0 commit comments

Comments
 (0)