Permalink
Browse files

expectedException with full class name

  • Loading branch information...
1 parent a48cfb0 commit 885eb806453b36d83845ec92e16674b1e014f73c @ClemensSahs committed Jan 22, 2013
Showing with 3 additions and 4 deletions.
  1. +3 −4 tests/ZendTest/Mvc/Service/DbAdapterManagerTest.php
@@ -13,7 +13,6 @@
use PHPUnit_Framework_TestCase as TestCase;
use Zend\Mvc\Service\DbAdapterManager;
-use Zend\Mvc\Service\Exception\DbAdapterManagerAdapterAllreadyRegistered;
class DbAdapterManagerTest extends TestCase
{
@@ -116,7 +115,7 @@ public function testInitDbAdapterAliase()
}
/**
- * @expectedException DbAdapterManagerAdapterNotExist
+ * @expectedException Zend\Mvc\Service\Exception\DbAdapterManagerAdapterNotExist
*/
public function testWrongAliase()
{
@@ -127,7 +126,7 @@ public function testWrongAliase()
}
/**
- * @expectedException DbAdapterManagerAdapterCoundInit
+ * @expectedException Zend\Mvc\Service\Exception\DbAdapterManagerAdapterCoundInit
*/
public function testWrongConfig()
{
@@ -138,7 +137,7 @@ public function testWrongConfig()
}
/**
- * @expectedException DbAdapterManagerAdapterAllreadyRegistered
+ * @expectedException Zend\Mvc\Service\Exception\DbAdapterManagerAdapterAllreadyRegistered
*/
public function testAdapterDuplicatKey()
{

0 comments on commit 885eb80

Please sign in to comment.