Skip to content

Commit 185368d

Browse files
committed
Perhaps an explanation would be helpful too
1 parent 8341f9e commit 185368d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Message/DirectAuthorizeRequestTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ public function testGetDataCustomerDetailsIgnoresStateOutsideUS()
8484

8585
$data = $this->request->getData();
8686

87+
// these must be empty string, not null
88+
// (otherwise Guzzle ignores them, and SagePay throws a fit)
8789
$this->assertSame('', $data['BillingState']);
8890
$this->assertSame('', $data['DeliveryState']);
8991
}

0 commit comments

Comments
 (0)