@@ -658,9 +658,9 @@ public function testHttp2Support(): \Generator
658658 $ body = yield $ response ->getBody ()->buffer ();
659659 $ json = \json_decode ($ body , true );
660660
661- $ this ->assertSame (1 , $ json ['http2 ' ]);
661+ $ this ->assertSame (0 , $ json ['http2 ' ]);
662662 $ this ->assertSame ('HTTP/2.0 ' , $ json ['protocol ' ]);
663- $ this ->assertSame (1 , $ json ['push ' ]);
663+ $ this ->assertSame (0 , $ json ['push ' ]);
664664 $ this ->assertSame ('2 ' , $ response ->getProtocolVersion ());
665665 }
666666
@@ -674,9 +674,9 @@ public function testHttp2SupportBody(): \Generator
674674 $ body = yield $ response ->getBody ()->buffer ();
675675 $ json = \json_decode ($ body , true );
676676
677- $ this ->assertSame (1 , $ json ['http2 ' ]);
677+ $ this ->assertSame (0 , $ json ['http2 ' ]);
678678 $ this ->assertSame ('HTTP/2.0 ' , $ json ['protocol ' ]);
679- $ this ->assertSame (1 , $ json ['push ' ]);
679+ $ this ->assertSame (0 , $ json ['push ' ]);
680680 $ this ->assertSame ('2 ' , $ response ->getProtocolVersion ());
681681 }
682682
@@ -690,9 +690,9 @@ public function testHttp2SupportLargeBody(): \Generator
690690 $ body = yield $ response ->getBody ()->buffer ();
691691 $ json = \json_decode ($ body , true );
692692
693- $ this ->assertSame (1 , $ json ['http2 ' ]);
693+ $ this ->assertSame (0 , $ json ['http2 ' ]);
694694 $ this ->assertSame ('HTTP/2.0 ' , $ json ['protocol ' ]);
695- $ this ->assertSame (1 , $ json ['push ' ]);
695+ $ this ->assertSame (0 , $ json ['push ' ]);
696696 $ this ->assertSame ('2 ' , $ response ->getProtocolVersion ());
697697 }
698698
@@ -730,8 +730,8 @@ public function testConcurrentSlowNetworkInterceptor(): \Generator
730730 $ json1 = \json_decode ($ body1 , true );
731731 $ json2 = \json_decode ($ body2 , true );
732732
733- $ this ->assertSame (1 , $ json1 ['http2 ' ]);
734- $ this ->assertSame (1 , $ json2 ['http2 ' ]);
733+ $ this ->assertSame (0 , $ json1 ['http2 ' ]);
734+ $ this ->assertSame (0 , $ json2 ['http2 ' ]);
735735 }
736736
737737 public function testHttp2UpgradeResponse (): \Generator
0 commit comments