Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit 02a89e4

Browse files
Updates URL to use https
1 parent ed4ae33 commit 02a89e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/ApiClientTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function test_getV1BatchTokenFromHeadersWrongLinkHeader() {
6363
*/
6464
public function test_getV1BatchTokenFromHeadersNoNextLinkHeader() {
6565
$headers = [
66-
'Link' => '<http://connect.squareup.com/v1/payments/?batch_token=TOKEN1>; rel="previous"; title="previous chapter"'
66+
'Link' => '<https://connect.squareup.com/v1/payments/?batch_token=TOKEN1>; rel="previous"; title="previous chapter"'
6767
];
6868
$batch_token = \SquareConnect\ApiClient::getV1BatchTokenFromHeaders($headers);
6969
$this->assertEquals(null, $batch_token);
@@ -75,7 +75,7 @@ public function test_getV1BatchTokenFromHeadersNoNextLinkHeader() {
7575
*/
7676
public function test_getV1BatchTokenFromHeadersNoBatchToken() {
7777
$headers = [
78-
'Link' => "<http://connect.squareup.com/v1/payments/?batch_Ttoken=TOKEN1>;rel='next'"
78+
'Link' => "<https://connect.squareup.com/v1/payments/?batch_Ttoken=TOKEN1>;rel='next'"
7979
];
8080
$batch_token = \SquareConnect\ApiClient::getV1BatchTokenFromHeaders($headers);
8181
$this->assertEquals(null, $batch_token);
@@ -87,9 +87,9 @@ public function test_getV1BatchTokenFromHeadersNoBatchToken() {
8787
*/
8888
public function test_getV1BatchTokenFromHeaders() {
8989
$headers = [
90-
'Link' => "<http://connect.squareup.com/v1/payments/?batch_token=TOKEN1>;rel='next'"
90+
'Link' => "<https://connect.squareup.com/v1/payments/?batch_token=TOKEN1>;rel='next'"
9191
];
9292
$batch_token = \SquareConnect\ApiClient::getV1BatchTokenFromHeaders($headers);
9393
$this->assertEquals('TOKEN1', $batch_token);
9494
}
95-
}
95+
}

0 commit comments

Comments
 (0)