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:
parent
2385f891e5
commit
371ac69a6b
13 changed files with 533 additions and 26 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue