create first tests for accompanying period manipulation

[ci skip]
This commit is contained in:
2015-02-03 10:03:36 +01:00
parent aa8d211e55
commit 7ebaafe768
5 changed files with 213 additions and 4 deletions

View File

@@ -208,6 +208,11 @@ class HistoryController extends Controller
$this->get('session')->getFlashBag()
->add('danger', $this->get('translator')
->trans('History closing form is not valide'));
foreach ($form->getErrors() as $error) {
$this->get('session')->getFlashBag()
->add('info', $error->getMessage());
}
}
}