Permalink
Browse files

More namespace fixes

  • Loading branch information...
1 parent be2e5f0 commit 7ace5c3309fcaf3db2ed101aa87d9b9cb602364d @lorenzo lorenzo committed Feb 13, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/TestCase/Network/SocketTest.php
@@ -159,7 +159,7 @@ public function testSocketWriting() {
try {
$request = "GET / HTTP/1.1\r\nConnection: close\r\n\r\n";
$this->assertTrue((bool)$this->Socket->write($request));
- } catch (SocketException $e) {
+ } catch (\Cake\Error\SocketException $e) {
$this->markTestSkipped('Cannot test network, skipping.');
}
}
@@ -237,7 +237,7 @@ public function testReset() {
/**
* testEncrypt
*
- * @expectedException Cake\Error\SocketException
+ * @expectedException \Cake\Error\SocketException
* @return void
*/
public function testEnableCryptoSocketExceptionNoSsl() {
@@ -317,7 +317,7 @@ public function testEnableCrypto() {
/**
* testEnableCryptoExceptionEnableTwice
*
- * @expectedException Cake\Error\SocketException
+ * @expectedException \Cake\Error\SocketException
* @return void
*/
public function testEnableCryptoExceptionEnableTwice() {
@@ -331,7 +331,7 @@ public function testEnableCryptoExceptionEnableTwice() {
/**
* testEnableCryptoExceptionDisableTwice
*
- * @expectedException Cake\Error\SocketException
+ * @expectedException \Cake\Error\SocketException
* @return void
*/
public function testEnableCryptoExceptionDisableTwice() {

0 comments on commit 7ace5c3

Please sign in to comment.