PHP Class AuthenticatorTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: adamwathan/eloquent-oauth

Public Methods

Method Description
tearDown ( )
test_if_a_user_is_returned_from_the_callback_that_user_is_used ( )
test_if_nothing_is_returned_from_the_callback_the_found_or_created_user_is_used ( )
test_login_creates_new_user_if_no_matching_user_exists ( )
test_login_uses_existing_user_if_matching_user_exists ( )

Method Details

tearDown() public method

public tearDown ( )

test_if_a_user_is_returned_from_the_callback_that_user_is_used() public method

test_if_nothing_is_returned_from_the_callback_the_found_or_created_user_is_used() public method

test_login_creates_new_user_if_no_matching_user_exists() public method

test_login_uses_existing_user_if_matching_user_exists() public method