Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Krucas
LaravelUserEmailVerification
Test
VerificationBrokerTest
PHP Class Krucas\LaravelUserEmailVerification\Test\VerificationBrokerTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Exibir arquivo
Open project: edvinaskrucas/laravel-user-email-verification
Public Methods
Method
Description
tearDown
( )
testBrokerCreatesTokenAndRedirectsWithoutError
( )
testGetUserThrowsExceptionIfUserDoesntImplementRequiresEmailVerification
( )
testIfUserIsNotFoundErrorRedirectIsReturned
( )
testMailerIsCalledWithProperViewTokenAndCallback
( )
testRedirectIsReturnedByVerificationWhenUserCredentialsInvalid
( )
testRedirectReturnedByVerificationWhenRecordDoesntExistInTable
( )
testUserIsRetrievedByCredentials
( )
testVerificationRemovesRecordOnTokenTableAndCallsCallback
( )
Protected Methods
Method
Description
getBroker
(
$mocks
)
getMocks
( )
Method Details
getBroker()
protected
method
protected
getBroker
(
$mocks
)
getMocks()
protected
method
protected
getMocks
( )
tearDown()
public
method
public
tearDown
( )
testBrokerCreatesTokenAndRedirectsWithoutError()
public
method
public
testBrokerCreatesTokenAndRedirectsWithoutError
( )
testGetUserThrowsExceptionIfUserDoesntImplementRequiresEmailVerification()
public
method
public
testGetUserThrowsExceptionIfUserDoesntImplementRequiresEmailVerification
( )
testIfUserIsNotFoundErrorRedirectIsReturned()
public
method
public
testIfUserIsNotFoundErrorRedirectIsReturned
( )
testMailerIsCalledWithProperViewTokenAndCallback()
public
method
public
testMailerIsCalledWithProperViewTokenAndCallback
( )
testRedirectIsReturnedByVerificationWhenUserCredentialsInvalid()
public
method
public
testRedirectIsReturnedByVerificationWhenUserCredentialsInvalid
( )
testRedirectReturnedByVerificationWhenRecordDoesntExistInTable()
public
method
public
testRedirectReturnedByVerificationWhenRecordDoesntExistInTable
( )
testUserIsRetrievedByCredentials()
public
method
public
testUserIsRetrievedByCredentials
( )
testVerificationRemovesRecordOnTokenTableAndCallsCallback()
public
method
public
testVerificationRemovesRecordOnTokenTableAndCallsCallback
( )