Skip to content

Commit

Permalink
Fix incorrect method names.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 20, 2013
1 parent 3e34a09 commit 27dc666
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Cake/Test/Case/Network/CakeSocketTest.php
Expand Up @@ -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.');
}
}

Expand Down Expand Up @@ -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.');
}
}

Expand Down Expand Up @@ -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.');
}
}

Expand Down

0 comments on commit 27dc666

Please sign in to comment.