Skip to content

Commit

Permalink
Change namespace for DbException.
Browse files Browse the repository at this point in the history
  • Loading branch information
romeOz committed May 28, 2015
1 parent e532563 commit 9fe8f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/UniqueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function testValidateNonDatabaseAttribute()

public function testValidateAttributeAttributeNotInTableException()
{
$this->setExpectedException(\rock\db\DbException::className());
$this->setExpectedException(\rock\db\common\DbException::className());
$m = new ValidatorTestMainModel();
$val = ActiveValidate::unique($m);
$val->validate('testMainVal');
Expand Down

0 comments on commit 9fe8f27

Please sign in to comment.