Skip to content
Permalink
Browse files

Attempt to fix tests in 2.x

Relying on tv.eurosport.com having a bad peer name is pretty fragile.
However, we can more easily rely on their cert coming from a CA we no
longer trust.
  • Loading branch information...
markstory committed Apr 14, 2016
1 parent 3412151 commit f451efa51147e9fae6ee81b968c8e5e4c65a9d87
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/Cake/Test/Case/Network/Http/HttpSocketTest.php
@@ -1843,7 +1843,6 @@ public function testVerifyPeer() {
} catch (SocketException $e) {
$message = $e->getMessage();
$this->skipIf(strpos($message, 'Invalid HTTP') !== false, 'Invalid HTTP Response received, skipping.');
$this->assertContains('Peer certificate CN', $message);
$this->assertContains('Failed to enable crypto', $message);
}
}

0 comments on commit f451efa

Please sign in to comment.
You can’t perform that action at this time.