CakeDC\Users\Test\TestCase\Controller\Component\GoogleAuthenticatorComponentTest::testCreateSecret PHP Method

testCreateSecret() public method

Making sure we return secret
public testCreateSecret ( ) : void
return void
    public function testCreateSecret()
    {
        $this->Controller->GoogleAuthenticator->initialize([]);
        $result = $this->Controller->GoogleAuthenticator->createSecret();
        $this->assertNotEmpty($result);
    }