PHP Class Joli\SlackSecretSanta\Tests\SantaControllerTest

Inheritance: extends Symfony\Bundle\FrameworkBundle\Test\KernelTestCase
Datei anzeigen Open project: jolicode/slack-secret-santa

Public Methods

Method Description
test_auth_page_redirects_to_slack ( )
test_finish_page_returns_404_without_hash ( )
test_finish_page_works_with_invalid_hash ( )
test_finish_page_works_with_valid_hash_for_failed_secret_santa ( )
test_finish_page_works_with_valid_hash_for_successful_secret_santa ( )
test_homepage_works ( )
test_run_page_redirects_to_auth_page ( )
test_summary_works_with_invalid_hash ( )
test_summary_works_with_valid_hash ( )

Protected Methods

Method Description
createClient ( array $options = [], array $server = [] )
getKernelClass ( )

Private Methods

Method Description
prepareSession ( Client $client, string $key, string $value )

Method Details

createClient() protected static method

protected static createClient ( array $options = [], array $server = [] )
$options array
$server array

getKernelClass() protected static method

protected static getKernelClass ( )

test_auth_page_redirects_to_slack() public method

test_finish_page_returns_404_without_hash() public method

test_finish_page_works_with_invalid_hash() public method

test_finish_page_works_with_valid_hash_for_failed_secret_santa() public method

test_finish_page_works_with_valid_hash_for_successful_secret_santa() public method

test_homepage_works() public method

public test_homepage_works ( )

test_run_page_redirects_to_auth_page() public method

test_summary_works_with_invalid_hash() public method

test_summary_works_with_valid_hash() public method