diff --git a/tests/DirectGatewayTest.php b/tests/DirectGatewayTest.php
index 7355783e..46858557 100644
--- a/tests/DirectGatewayTest.php
+++ b/tests/DirectGatewayTest.php
@@ -73,7 +73,7 @@ public function testAuthorizeFailure()
$this->assertFalse($response->isSuccessful());
$this->assertFalse($response->isRedirect());
- // With no suuccess and no redirect, there will be no transaction reference.
+ // With no success and no redirect, there will be no transaction reference.
//$this->assertSame('{"VendorTxCode":"123"}', $response->getTransactionReference());
$this->assertNull($response->getTransactionReference());
diff --git a/tests/Message/DirectAuthorizeRequestTest.php b/tests/Message/DirectAuthorizeRequestTest.php
index a7462fb3..e18bf2ba 100644
--- a/tests/Message/DirectAuthorizeRequestTest.php
+++ b/tests/Message/DirectAuthorizeRequestTest.php
@@ -6,7 +6,7 @@
class DirectAuthorizeRequestTest extends TestCase
{
- // VISA incurrs a surcharge of 2.5% when used.
+ // VISA incurs a surcharge of 2.5% when used.
const SURCHARGE_XML = ''
. 'VISA2.50'
. '';
@@ -287,13 +287,13 @@ public function testMixedBasketWithSpecialChars()
{
$items = new \Omnipay\Common\ItemBag(array(
new \Omnipay\Common\Item(array(
- 'name' => "Denisé's Odd & Wierd £name? #12345678901234567890123456789012345678901234567890123456789012345678901234567890",
+ 'name' => "Denisé's Odd & Weird £name? #12345678901234567890123456789012345678901234567890123456789012345678901234567890",
'description' => 'Description',
'quantity' => 2,
'price' => 4.23,
)),
array(
- 'name' => "Denisé's \"Odd\" & Wierd £discount? #",
+ 'name' => "Denisé's \"Odd\" & Weird £discount? #",
'description' => 'My Offer',
'quantity' => 2,
'price' => -0.10,
@@ -309,11 +309,11 @@ public function testMixedBasketWithSpecialChars()
// Names/descriptions should be max 100 characters in length, once invalid characters have been removed.
$expected = '- '
- . 'Denis\'s Odd & Wierd name 1234567890123456789012345678901234567890123456789012345678901234567890123452'
+ . 'Denis\'s Odd & Weird name 1234567890123456789012345678901234567890123456789012345678901234567890123452'
. '4.230.00'
. '4.238.46'
. '
'
- . '0.2Denis\'s "Odd" Wierd discount? #'
+ . '0.2Denis\'s "Odd" Weird discount? #'
. '1.61234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
. '';
diff --git a/tests/Message/DirectPurchaseRequestTest.php b/tests/Message/DirectPurchaseRequestTest.php
index d14918be..1fb04176 100644
--- a/tests/Message/DirectPurchaseRequestTest.php
+++ b/tests/Message/DirectPurchaseRequestTest.php
@@ -6,7 +6,7 @@
class DirectPurchaseRequestTest extends DirectAuthorizeRequestTest
{
- // VISA incurrs a surcharge of 2.5% when used.
+ // VISA incurs a surcharge of 2.5% when used.
const SURCHARGE_XML = ''
. 'VISA2.50'
. '';
diff --git a/tests/Message/ServerNotifyRequestTest.php b/tests/Message/ServerNotifyRequestTest.php
index 5875df2c..34dc9114 100644
--- a/tests/Message/ServerNotifyRequestTest.php
+++ b/tests/Message/ServerNotifyRequestTest.php
@@ -62,8 +62,8 @@ public function testServerNotifyResponseSuccess()
$this->request->setSecurityKey('JEUPDN1N7E');
- // With the security key added, the signatue check will now be valid,
- // i.e. an untampered inbound notification.
+ // With the security key added, the signature check will now be valid,
+ // i.e. an un-tampered inbound notification.
$this->assertTrue($this->request->isValid());
@@ -123,7 +123,7 @@ public function testServerNotifyRequestFailure()
$this->getHttpRequest()
);
- // The transactino reference in Response and ServerNotifyTrait
+ // The transaction reference in Response and ServerNotifyTrait
// will return null if there is no transaction data provided
// by the gateway.
@@ -227,7 +227,7 @@ public function testInvalid()
}
/**
- * sendRequest lets you return a raw message with no additinal
+ * sendRequest lets you return a raw message with no additional
* checks on the validity of what was received.
*/
public function testSendResponse()
diff --git a/tests/Message/SharedCaptureRequestTest.php b/tests/Message/SharedCaptureRequestTest.php
index 0035709b..ba73081b 100644
--- a/tests/Message/SharedCaptureRequestTest.php
+++ b/tests/Message/SharedCaptureRequestTest.php
@@ -25,13 +25,13 @@ public function testTxType()
$this->assertSame('RELEASE', $this->request->getTxType());
- // User authenticate explicity true.
+ // User authenticate explicitly true.
$this->request->setUseAuthenticate(true);
$this->assertSame('AUTHORISE', $this->request->getTxType());
- // User authenticate explicity false (back to the default).
+ // User authenticate explicitly false (back to the default).
$this->request->setUseAuthenticate(false);