Browse Source

More namespace fixes

Jose Lorenzo Rodriguez 12 years ago
parent
commit
7ace5c3309
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tests/TestCase/Network/SocketTest.php

+ 4 - 4
tests/TestCase/Network/SocketTest.php

@@ -159,7 +159,7 @@ class SocketTest extends TestCase {
 		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 @@ class SocketTest extends TestCase {
 /**
  * testEncrypt
  *
- * @expectedException Cake\Error\SocketException
+ * @expectedException \Cake\Error\SocketException
  * @return void
  */
 	public function testEnableCryptoSocketExceptionNoSsl() {
@@ -317,7 +317,7 @@ class SocketTest extends TestCase {
 /**
  * testEnableCryptoExceptionEnableTwice
  *
- * @expectedException Cake\Error\SocketException
+ * @expectedException \Cake\Error\SocketException
  * @return void
  */
 	public function testEnableCryptoExceptionEnableTwice() {
@@ -331,7 +331,7 @@ class SocketTest extends TestCase {
 /**
  * testEnableCryptoExceptionDisableTwice
  *
- * @expectedException Cake\Error\SocketException
+ * @expectedException \Cake\Error\SocketException
  * @return void
  */
 	public function testEnableCryptoExceptionDisableTwice() {