File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -504,19 +504,6 @@ public function testCancelGetRequestShouldCancelUnderlyingSocketConnection()
504504 $ promise ->cancel ();
505505 }
506506
507- public function testWithElseHeader ()
508- {
509- $ this ->browser = $ this ->browser ->withHeader ('User-Agent ' , 'ACMC ' );
510-
511- $ that = $ this ;
512- $ this ->sender ->expects ($ this ->once ())->method ('send ' )->with ($ this ->callback (function (RequestInterface $ request ) use ($ that ) {
513- $ that ->assertEquals (array ('ACMC ' ), $ request ->getHeader ('User-Agent ' ));
514- return true ;
515- }))->willReturn (new Promise (function () { }));
516-
517- $ this ->browser ->get ('http://example.com/ ' );
518- }
519-
520507 public function testWithHeaderShouldOverwriteExistingHeader ()
521508 {
522509 $ this ->browser = $ this ->browser ->withHeader ('User-Agent ' , 'ACMC ' ); //should be overwritten
You can’t perform that action at this time.
0 commit comments