refactor exceptions

This commit is contained in:
DavidBadura
2015-04-06 21:13:02 +00:00
parent ec8ab39e7c
commit 0ab45fae1f
11 changed files with 189 additions and 88 deletions

View File

@@ -67,7 +67,7 @@ class RecurringTest extends \PHPUnit_Framework_TestCase
*/
public function testInvalid($recur)
{
$this->setExpectedException('DavidBadura\Taskwarrior\TaskwarriorException');
$this->setExpectedException('DavidBadura\Taskwarrior\Exception\RecurringParseException');
$obj = new Recurring($recur);
}