From 2b73a85d527eb80798bd81bfb7640efe8d57a8ae Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Thu, 21 Mar 2024 20:45:29 +0100 Subject: [PATCH] Remove no longer working testHttp2Push --- test/ClientHttpBinIntegrationTest.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/ClientHttpBinIntegrationTest.php b/test/ClientHttpBinIntegrationTest.php index 6c3a03d6..6d21ada3 100644 --- a/test/ClientHttpBinIntegrationTest.php +++ b/test/ClientHttpBinIntegrationTest.php @@ -237,17 +237,6 @@ public function testHeaderCase(): \Generator ], $result); } - public function testHttp2Push(): \Generator - { - $request = new Request('https://http2-server-push-demo.keksi.io/'); - $request->setPushHandler(static function (Request $request, Promise $response) { - self::assertSame('/image.jpg', $request->getUri()->getPath()); - self::assertSame('image/jpeg', (yield $response)->getHeader('content-type')); - }); - - yield $this->executeRequest($request); - } - public function testGzipBomb(): \Generator { $this->markTestSkipped('Run this manually');