mirror of
https://github.com/opdavies/glassboxx-sdk-php.git
synced 2025-02-17 22:50:48 +00:00
Use a decimal float price to ensure that works
This commit is contained in:
parent
f2478e62a4
commit
73160563b3
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ class TestCase extends \PHPUnit\Framework\TestCase
|
|||
$order->method('getCurrencyCode')->willReturn('GBP');
|
||||
$order->method('getCustomer')->willReturn($this->getMockCustomer());
|
||||
$order->method('getOrderNumber')->willReturn('abc123');
|
||||
$order->method('getPrice')->willReturn((float) 100);
|
||||
$order->method('getPrice')->willReturn(7.99);
|
||||
$order->method('getSku')->willReturn('this-is-the-first-sku');
|
||||
|
||||
return $order;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue