PHP Class Joli\SlackSecretSanta\Tests\SantaControllerTest

Inheritance: extends Symfony\Bundle\FrameworkBundle\Test\KernelTestCase
Afficher le fichier Open project: jolicode/slack-secret-santa

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode Description
createClient ( array $options = [], array $server = [] )
getKernelClass ( )

Private Methods

Méthode Description
prepareSession ( Client $client, string $key, string $value )

Method Details

createClient() protected static méthode

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

getKernelClass() protected static méthode

protected static getKernelClass ( )

test_auth_page_redirects_to_slack() public méthode

test_finish_page_returns_404_without_hash() public méthode

test_finish_page_works_with_invalid_hash() public méthode

test_finish_page_works_with_valid_hash_for_failed_secret_santa() public méthode

test_finish_page_works_with_valid_hash_for_successful_secret_santa() public méthode

test_homepage_works() public méthode

public test_homepage_works ( )

test_run_page_redirects_to_auth_page() public méthode

test_summary_works_with_invalid_hash() public méthode

test_summary_works_with_valid_hash() public méthode