PHP Class CakeDC\Users\Test\TestCase\Model\Behavior\SocialBehaviorTest

Inheritance: extends Cake\TestSuite\TestCase
Datei anzeigen Open project: cakedc/users

Public Properties

Property Type Description
$fixtures array Fixtures

Public Methods

Method Description
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

Method Details

providerFacebookSocialLogin() public method

Provider for socialLogin with facebook and not existing user

providerFacebookSocialLoginExistingReference() public method

Provider for socialLogin with facebook with existing and active user

providerFacebookSocialLoginNoEmail() public method

Provider for socialLogin with facebook and not existing user

providerGenerateUsername() public method

Provider for socialLogin with facebook and not existing user

providerSocialLoginExistingAccountNotActiveUser() public method

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

providerSocialLoginExistingAndNotActiveAccount() public method

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

setUp() public method

setup
public setUp ( ) : void
return void

tearDown() public method

tearDown
public tearDown ( ) : void
return void

testGenerateUniqueUsername() public method

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

testSocialLoginExistingNotActiveReference() public method

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

testSocialLoginExistingReference() public method

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

testSocialLoginExistingReferenceNotActiveUser() public method

Test socialLogin with existing and active account but not active user

testSocialLoginFacebookProvider() public method

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

testSocialLoginNoEmail() public method

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

Property Details

$fixtures public_oe property

Fixtures
public array $fixtures
return array