File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -257,6 +257,7 @@ public function testPopulateHeadersWithoutContentType()
257
257
$ this ->assertNull ($ this ->message ->header ('content-type ' ));
258
258
putenv ("CONTENT_TYPE= {$ originalEnv }" );
259
259
$ this ->message ->removeHeader ('accept-language ' );
260
+
260
261
$ _SERVER = $ original ; // restore so code coverage doesn't break
261
262
}
262
263
@@ -273,6 +274,7 @@ public function testPopulateHeadersWithoutHTTP()
273
274
274
275
$ this ->assertNull ($ this ->message ->header ('user-agent ' ));
275
276
$ this ->assertNull ($ this ->message ->header ('request-method ' ));
277
+
276
278
$ _SERVER = $ original ; // restore so code coverage doesn't break
277
279
}
278
280
@@ -289,6 +291,7 @@ public function testPopulateHeadersKeyNotExists()
289
291
290
292
$ this ->assertSame ('' , $ this ->message ->header ('accept-charset ' )->getValue ());
291
293
$ this ->message ->removeHeader ('accept-charset ' );
294
+
292
295
$ _SERVER = $ original ; // restore so code coverage doesn't break
293
296
}
294
297
@@ -307,6 +310,7 @@ public function testPopulateHeaders()
307
310
$ this ->assertSame ('en-us,en;q=0.50 ' , $ this ->message ->header ('accept-language ' )->getValue ());
308
311
$ this ->message ->removeHeader ('content-type ' );
309
312
$ this ->message ->removeHeader ('accept-language ' );
313
+
310
314
$ _SERVER = $ original ; // restore so code coverage doesn't break
311
315
}
312
316
}
You can’t perform that action at this time.
0 commit comments