mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fix skip condition.
This commit is contained in:
parent
9011b42bb4
commit
374631dc8c
1 changed files with 1 additions and 1 deletions
|
@ -1714,7 +1714,7 @@ class HttpSocketTest extends CakeTestCase {
|
|||
$this->markTestSkipped('Found valid certificate, was expecting invalid certificate.');
|
||||
} catch (SocketException $e) {
|
||||
$message = $e->getMessage();
|
||||
$this->skipIf(strpos($message, 'Invalid HTTP'), 'Invalid HTTP Response received, skipping.');
|
||||
$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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue