Skip to content

Commit 49fd457

Browse files
committed
Remove uneeded test case, do not read body twice to allow not seekable stream in the response
1 parent 8d761e1 commit 49fd457

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/HttpAdapterTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ protected function tearDown()
9494
unset($this->httpAdapter);
9595
}
9696

97-
abstract public function testGetName();
98-
9997
/**
10098
* @return HttpClient
10199
*/
@@ -417,10 +415,8 @@ protected function assertResponse($response, array $options = [])
417415

418416
if ($options['body'] === null) {
419417
$this->assertEmpty($response->getBody()->getContents());
420-
$this->assertEmpty((string) $response->getBody());
421418
} else {
422419
$this->assertContains($options['body'], $response->getBody()->getContents());
423-
$this->assertContains($options['body'], (string) $response->getBody());
424420
}
425421
}
426422

0 commit comments

Comments
 (0)