This repository was archived by the owner on Apr 23, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public function test_getV1BatchTokenFromHeadersWrongLinkHeader() {
63
63
*/
64
64
public function test_getV1BatchTokenFromHeadersNoNextLinkHeader () {
65
65
$ 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" '
67
67
];
68
68
$ batch_token = \SquareConnect \ApiClient::getV1BatchTokenFromHeaders ($ headers );
69
69
$ this ->assertEquals (null , $ batch_token );
@@ -75,7 +75,7 @@ public function test_getV1BatchTokenFromHeadersNoNextLinkHeader() {
75
75
*/
76
76
public function test_getV1BatchTokenFromHeadersNoBatchToken () {
77
77
$ 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' "
79
79
];
80
80
$ batch_token = \SquareConnect \ApiClient::getV1BatchTokenFromHeaders ($ headers );
81
81
$ this ->assertEquals (null , $ batch_token );
@@ -87,9 +87,9 @@ public function test_getV1BatchTokenFromHeadersNoBatchToken() {
87
87
*/
88
88
public function test_getV1BatchTokenFromHeaders () {
89
89
$ 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' "
91
91
];
92
92
$ batch_token = \SquareConnect \ApiClient::getV1BatchTokenFromHeaders ($ headers );
93
93
$ this ->assertEquals ('TOKEN1 ' , $ batch_token );
94
94
}
95
- }
95
+ }
You can’t perform that action at this time.
0 commit comments