Contao\CoreBundle\Test\Command\UserPasswordCommandTest::testExitCodeWithoutPassword PHP 메소드

testExitCodeWithoutPassword() 공개 메소드

Tests the command without a password.
    public function testExitCodeWithoutPassword()
    {
        $code = (new CommandTester($this->command))->execute(['username' => 'foobar'], ['interactive' => false]);
        $this->assertEquals(1, $code);
    }