@@ -66,8 +66,9 @@ public function testGettingGeneratedPid()
66
66
$ response = new Response (
67
67
204 ,
68
68
'' ,
69
- [ 'Some-Header: something ' ,
70
- 'Location: https://api.ticketpark.ch/some-entity/some-uuid '
69
+ [
70
+ 'Some-Header ' => ['something ' ],
71
+ 'Location ' => ['https://api.ticketpark.ch/some-entity/some-uuid ' ]
71
72
]
72
73
);
73
74
@@ -80,7 +81,7 @@ public function testGettingGeneratedPidReturnsNullIfInexistent()
80
81
204 ,
81
82
'' ,
82
83
[
83
- 'Some-Header: something '
84
+ 'Some-Header ' => [ ' something ']
84
85
]
85
86
);
86
87
@@ -93,8 +94,8 @@ public function testGettingGeneratedPidReturnsNullIfListLinkAvailable()
93
94
204 ,
94
95
'' ,
95
96
[
96
- 'Some-Header: something ' ,
97
- 'Location: https://api.ticketpark.ch/some-entity/filters[batchId]=some-uuid&orderBy[batchOrder]=asc '
97
+ 'Some-Header ' => [ ' something '] ,
98
+ 'Location ' => [ ' https://api.ticketpark.ch/some-entity/filters[batchId]=some-uuid&orderBy[batchOrder]=asc ']
98
99
]
99
100
);
100
101
@@ -106,8 +107,9 @@ public function testGettingGeneratedListLink()
106
107
$ response = new Response (
107
108
204 ,
108
109
'' ,
109
- [ 'Some-Header: something ' ,
110
- 'Location: https://api.ticketpark.ch/some-entity/filters[batchId]=some-uuid&orderBy[batchOrder]=asc '
110
+ [
111
+ 'Some-Header ' => ['something ' ],
112
+ 'Location ' => ['https://api.ticketpark.ch/some-entity/filters[batchId]=some-uuid&orderBy[batchOrder]=asc ' ]
111
113
]
112
114
);
113
115
@@ -120,7 +122,7 @@ public function testGettingGeneratedListLinkReturnsNullIfInexistent()
120
122
204 ,
121
123
'' ,
122
124
[
123
- 'Some-Header: something ' ,
125
+ 'Some-Header ' => [ ' something ']
124
126
]
125
127
);
126
128
@@ -133,8 +135,8 @@ public function testGettingGeneratedListLinkReturnsNullIfPidAvailable()
133
135
204 ,
134
136
'' ,
135
137
[
136
- 'Some-Header: something ' ,
137
- 'Location: https://api.ticketpark.ch/some-entity/some-uuid '
138
+ 'Some-Header ' => [ ' something '] ,
139
+ 'Location ' => [ ' https://api.ticketpark.ch/some-entity/some-uuid ']
138
140
]
139
141
);
140
142
0 commit comments