Skip to content

Commit

Permalink
Remove old tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Mar 31, 2024
1 parent e245187 commit 11cf0e4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
11 changes: 0 additions & 11 deletions tests/Handler/StreamHandlerTest.php
Expand Up @@ -354,17 +354,6 @@ public function testVerifiesCertIfValidPath()
$this->getSendResult(['cert' => '/does/not/exist']);
}

public function testVerifyCanBeSetToPath()
{
$path = Utils::defaultCaBundle();
$res = $this->getSendResult(['verify' => $path]);
$opts = \stream_context_get_options($res->getBody()->detach());
self::assertTrue($opts['ssl']['verify_peer']);
self::assertTrue($opts['ssl']['verify_peer_name']);
self::assertSame($path, $opts['ssl']['cafile']);
self::assertFileExists($opts['ssl']['cafile']);
}

public function testUsesSystemDefaultBundle()
{
$res = $this->getSendResult(['verify' => true]);
Expand Down
5 changes: 0 additions & 5 deletions tests/UtilsTest.php
Expand Up @@ -90,11 +90,6 @@ public function testReturnsDebugResource()
self::assertIsResource(Utils::debugResource());
}

public function testProvidesDefaultCaBundler()
{
self::assertFileExists(Utils::defaultCaBundle());
}

public function testNormalizeHeaderKeys()
{
$input = ['HelLo' => 'foo', 'WORld' => 'bar'];
Expand Down

0 comments on commit 11cf0e4

Please sign in to comment.