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

@ -24,7 +24,7 @@ class ConfigType extends AbstractType
{
$builder
->add('theme', 'choice', array('choices' => $this->themes))
->add('items_per_page', 'text')
->add('items_per_page')
->add('language')
->add('save', 'submit')
;

View File

@ -10,7 +10,7 @@ class RssType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('rss_limit', 'text')
->add('rss_limit')
->add('save', 'submit')
;
}