Skip to content

Commit 6698f1a

Browse files
Update test-flw-wc-payment-gateway-request.php
1 parent de87f7a commit 6698f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPUnit/test-flw-wc-payment-gateway-request.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function data_provider_for_test_get_prepared_payload(): array {
4949
$txnref = 'WOOC_'.$order->get_id().'_TEST';
5050

5151
$data_to_join = array(
52-
'amount' => $order->get_total(),
52+
'amount' => (float) $order->get_total(),
5353
'currency' => $order->get_currency(),
5454
'email' => $order->get_billing_email(),
5555
'tx_ref' => $txnref,

0 commit comments

Comments
 (0)