CakeDC\Users\Test\TestCase\Model\Behavior\SocialBehaviorTest::testSocialLoginExistingNotActiveReference PHP Метод

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

Test socialLogin with existing and active user and not active social account
public testSocialLoginExistingNotActiveReference ( $data, $options )
    public function testSocialLoginExistingNotActiveReference($data, $options)
    {
        $this->Behavior->expects($this->never())->method('generateUniqueUsername');
        $this->Behavior->expects($this->never())->method('randomString');
        $this->Behavior->expects($this->never())->method('_updateActive');
        $this->Behavior->socialLogin($data, $options);
    }