Skip to content

Commit

Permalink
Update expected exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Oct 24, 2014
1 parent 7534869 commit 37ca0cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions framework/History/test/Horde/History/TestBase.php
Expand Up @@ -75,7 +75,7 @@ public function testMethodGethistoryHasParameterStringGuid()
try {
self::$history->getHistory(array());
$this->fail('No exception!');
} catch (Horde_History_Exception $e) {
} catch (InvalidArgumentException $e) {
}
}

Expand Down Expand Up @@ -111,7 +111,7 @@ public function testMethodGetbytimestampHasParameterStringCmp()
try {
self::$history->getByTimestamp(array(), 1);
$this->fail('No exception!');
} catch (Horde_History_Exception $e) {
} catch (InvalidArgumentException $e) {
}
}

Expand All @@ -120,7 +120,7 @@ public function testMethodGetbytimestampHasParameterIntegerTs()
try {
self::$history->getByTimestamp('>', 'hello');
$this->fail('No exception!');
} catch (Horde_History_Exception $e) {
} catch (InvalidArgumentException $e) {
}
}

Expand Down Expand Up @@ -187,7 +187,7 @@ public function testMethodGetactiontimestampHasParameterStringGuid()
try {
self::$history->getActionTimestamp(array(), 'test');
$this->fail('No exception!');
} catch (Horde_History_Exception $e) {
} catch (InvalidArgumentException $e) {
}
}

Expand All @@ -196,7 +196,7 @@ public function testMethodGetactiontimestampHasParameterStringAction()
try {
self::$history->getActionTimestamp('test', array());
$this->fail('No exception!');
} catch (Horde_History_Exception $e) {
} catch (InvalidArgumentException $e) {
}
}

Expand Down

0 comments on commit 37ca0cb

Please sign in to comment.