PHP 클래스 CakeDC\Users\Test\TestCase\Model\Behavior\SocialBehaviorTest

상속: extends Cake\TestSuite\TestCase
파일 보기 프로젝트 열기: cakedc/users

공개 프로퍼티들

프로퍼티 타입 설명
$fixtures array Fixtures

공개 메소드들

메소드 설명
providerFacebookSocialLogin ( ) Provider for socialLogin with facebook and not existing user
providerFacebookSocialLoginExistingReference ( ) Provider for socialLogin with facebook with existing and active user
providerFacebookSocialLoginNoEmail ( ) Provider for socialLogin with facebook and not existing user
providerGenerateUsername ( ) Provider for socialLogin with facebook and not existing user
providerSocialLoginExistingAccountNotActiveUser ( ) Provider for socialLogin with existing and active account but not active user
providerSocialLoginExistingAndNotActiveAccount ( ) Provider for socialLogin with existing and active user and not active social account
setUp ( ) : void setup
tearDown ( ) : void tearDown
testGenerateUniqueUsername ( $param, $expected ) Test socialLogin with facebook and not existing user
testSocialLoginExistingNotActiveReference ( $data, $options ) Test socialLogin with existing and active user and not active social account
testSocialLoginExistingReference ( $data, $options ) Test socialLogin with facebook with existing and active user
testSocialLoginExistingReferenceNotActiveUser ( $data, $options ) Test socialLogin with existing and active account but not active user
testSocialLoginFacebookProvider ( $data, $options, $dataUser ) Test socialLogin with facebook and not existing user
testSocialLoginNoEmail ( $data, $options ) Test socialLogin with facebook and not existing user

메소드 상세

providerFacebookSocialLogin() 공개 메소드

Provider for socialLogin with facebook and not existing user

providerFacebookSocialLoginExistingReference() 공개 메소드

Provider for socialLogin with facebook with existing and active user

providerFacebookSocialLoginNoEmail() 공개 메소드

Provider for socialLogin with facebook and not existing user

providerGenerateUsername() 공개 메소드

Provider for socialLogin with facebook and not existing user

providerSocialLoginExistingAccountNotActiveUser() 공개 메소드

Provider for socialLogin with existing and active account but not active user

providerSocialLoginExistingAndNotActiveAccount() 공개 메소드

Provider for socialLogin with existing and active user and not active social account

setUp() 공개 메소드

setup
public setUp ( ) : void
리턴 void

tearDown() 공개 메소드

tearDown
public tearDown ( ) : void
리턴 void

testGenerateUniqueUsername() 공개 메소드

Test socialLogin with facebook and not existing user
public testGenerateUniqueUsername ( $param, $expected )

testSocialLoginExistingNotActiveReference() 공개 메소드

Test socialLogin with existing and active user and not active social account
public testSocialLoginExistingNotActiveReference ( $data, $options )

testSocialLoginExistingReference() 공개 메소드

Test socialLogin with facebook with existing and active user
public testSocialLoginExistingReference ( $data, $options )

testSocialLoginExistingReferenceNotActiveUser() 공개 메소드

Test socialLogin with existing and active account but not active user

testSocialLoginFacebookProvider() 공개 메소드

Test socialLogin with facebook and not existing user
public testSocialLoginFacebookProvider ( $data, $options, $dataUser )

testSocialLoginNoEmail() 공개 메소드

Test socialLogin with facebook and not existing user
public testSocialLoginNoEmail ( $data, $options )

프로퍼티 상세

$fixtures 공개적으로 프로퍼티

Fixtures
public array $fixtures
리턴 array