CakeDC\Users\Test\TestCase\Controller\Component\GoogleAuthenticatorComponentTest::testCreateSecret PHP Метод

testCreateSecret() публичный Метод

Making sure we return secret
public testCreateSecret ( ) : void
Результат void
    public function testCreateSecret()
    {
        $this->Controller->GoogleAuthenticator->initialize([]);
        $result = $this->Controller->GoogleAuthenticator->createSecret();
        $this->assertNotEmpty($result);
    }