Permalink
Browse files

Fix incorrect method names.

  • Loading branch information...
1 parent 3e34a09 commit 27dc666c8d10667ddb0451e9fddc15494a0d2335 @markstory markstory committed Feb 20, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/Test/Case/Network/CakeSocketTest.php
View
6 lib/Cake/Test/Case/Network/CakeSocketTest.php
@@ -99,7 +99,7 @@ public function testSocketConnection() {
$this->Socket->connect();
$this->assertTrue($this->Socket->connected);
} catch (SocketException $e) {
- $this->markTestAsSkipped('Cannot test network, skipping.');
+ $this->markTestSkipped('Cannot test network, skipping.');
}
}
@@ -148,7 +148,7 @@ public function testSocketHost() {
$this->assertEquals(null, $this->Socket->lastError());
$this->assertTrue(in_array('127.0.0.1', $this->Socket->addresses()));
} catch (SocketException $e) {
- $this->markTestAsSkipped('Cannot test network, skipping.');
+ $this->markTestSkipped('Cannot test network, skipping.');
}
}
@@ -267,7 +267,7 @@ protected function _connectSocketToSslTls() {
try {
$this->Socket->connect();
} catch (SocketException $e) {
- $this->markTestAsSkipped('Cannot test network, skipping.');
+ $this->markTestSkipped('Cannot test network, skipping.');
}
}

0 comments on commit 27dc666

Please sign in to comment.