PHP Class CakeDC\Users\Test\TestCase\Auth\SocialAuthenticateTest

Inheritance: extends Cake\TestSuite\TestCase
Show file Open project: cakedc/users

Public Properties

Property Type Description
$fixtures array Fixtures

Public Methods

Method Description
providerGetUser ( ) Provider for getUser test method
providerMapper ( ) Provider for _mapUser test method
providerTwitter ( ) Provider for getUser test method
setUp ( ) Sets up the fixture, for example, opens a network connection.
tearDown ( ) Tears down the fixture, for example, closes a network connection.
testGetUserAuth ( $rawData, $mapper ) Test getUser
testGetUserNotActive ( $rawData, $mapper ) Test getUser
testGetUserNotActiveAccount ( $rawData, $mapper ) Test getUser
testGetUserNotEmailProvided ( $rawData, $mapper ) Test getUser
testGetUserNotEmailProvidedTwitter ( $rawData, $mapper ) Test getUser
testGetUserSessionData ( ) Test getUser
testMapUser ( $data, $mappedData ) Test _mapUser
testMapUserException ( ) Test _mapUser
testSocialLogin ( ) Test _socialLogin

Protected Methods

Method Description
_getSocialAuthenticateMock ( )
_getSocialAuthenticateMockMethods ( $methods )

Method Details

_getSocialAuthenticateMock() protected method

_getSocialAuthenticateMockMethods() protected method

protected _getSocialAuthenticateMockMethods ( $methods )

providerGetUser() public method

Provider for getUser test method
public providerGetUser ( )

providerMapper() public method

Provider for _mapUser test method
public providerMapper ( )

providerTwitter() public method

Provider for getUser test method
public providerTwitter ( )

setUp() public method

This method is called before a test is executed.
public setUp ( )

tearDown() public method

This method is called after a test is executed.
public tearDown ( )

testGetUserAuth() public method

Test getUser
public testGetUserAuth ( $rawData, $mapper )

testGetUserNotActive() public method

Test getUser
public testGetUserNotActive ( $rawData, $mapper )

testGetUserNotActiveAccount() public method

Test getUser
public testGetUserNotActiveAccount ( $rawData, $mapper )

testGetUserNotEmailProvided() public method

Test getUser
public testGetUserNotEmailProvided ( $rawData, $mapper )

testGetUserNotEmailProvidedTwitter() public method

Test getUser
public testGetUserNotEmailProvidedTwitter ( $rawData, $mapper )

testGetUserSessionData() public method

Test getUser

testMapUser() public method

Test _mapUser
public testMapUser ( $data, $mappedData )

testMapUserException() public method

Test _mapUser

testSocialLogin() public method

Test _socialLogin
public testSocialLogin ( )

Property Details

$fixtures public property

Fixtures
public array $fixtures
return array