public function testInvalidPassword_MinLength() { $this->formData['password']['first'] = str_repeat('a', $this->app['config']['password_min_len'] - 1); $this->form->submit($this->formData); $this->assertFalse($this->form->isValid()); }