forked from LiveCarta/PayPal-PHP-SDK
More Invoice API Updates
This commit is contained in:
@@ -62,6 +62,12 @@ class FormatConverterTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
}
|
||||
|
||||
public function testFormat()
|
||||
{
|
||||
$result = FormatConverter::format("12.0123", "%0.2f");
|
||||
$this->assertEquals("12.01", $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider apiModelSettersProvider
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user