More Unit Tests + Initializer fix
- added unit test for Router\Forms - updated unit test for Model\Segment to reflect changes
This commit is contained in:
@ -21,8 +21,9 @@ class Model extends \Sudzy\ValidModel {
|
||||
} catch (\Sudzy\ValidationException $e) {
|
||||
return array_unique($e->getValidationErrors());
|
||||
} catch (\PDOException $e) {
|
||||
return $e->getMessage();
|
||||
return array($e->getMessage());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function trash() {
|
||||
|
Reference in New Issue
Block a user