Eccube\Tests\Form\Type\RepeatedPasswordTypeTest::testInvalid_LengthMax PHP Method

testInvalid_LengthMax() public method

    public function testInvalid_LengthMax()
    {
        $password = str_repeat('1', $this->config['password_max_len'] + 1);
        $this->formData['password']['first'] = $password;
        $this->formData['password']['second'] = $password;
        $this->form->submit($this->formData);
        $this->assertFalse($this->form->isValid());
    }