1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Add tests

and fix few mistakes
This commit is contained in:
Jeremy 2015-03-28 21:43:49 +01:00
parent 2385f891e5
commit 371ac69a6b
13 changed files with 533 additions and 26 deletions

View file

@ -35,6 +35,11 @@ class Config
* @var integer
*
* @Assert\NotBlank()
* @Assert\Range(
* min = 1,
* max = 100000,
* maxMessage = "This will certainly kill the app"
* )
* @ORM\Column(name="items_per_page", type="integer", nullable=false)
*/
private $itemsPerPage;
@ -58,6 +63,11 @@ class Config
* @var integer
*
* @ORM\Column(name="rss_limit", type="integer", nullable=true)
* @Assert\Range(
* min = 1,
* max = 100000,
* maxMessage = "This will certainly kill the app"
* )
*/
private $rssLimit;