PHP 클래스 Joli\SlackSecretSanta\Tests\SantaControllerTest

상속: extends Symfony\Bundle\FrameworkBundle\Test\KernelTestCase
파일 보기 프로젝트 열기: jolicode/slack-secret-santa

공개 메소드들

메소드 설명
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 ( )

보호된 메소드들

메소드 설명
createClient ( array $options = [], array $server = [] )
getKernelClass ( )

비공개 메소드들

메소드 설명
prepareSession ( Client $client, string $key, string $value )

메소드 상세

createClient() 보호된 정적인 메소드

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

getKernelClass() 보호된 정적인 메소드

protected static getKernelClass ( )

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() 공개 메소드

public test_homepage_works ( )

test_run_page_redirects_to_auth_page() 공개 메소드

test_summary_works_with_invalid_hash() 공개 메소드

test_summary_works_with_valid_hash() 공개 메소드