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
DatabaseTokenRepositoryTest
PHP Class Krucas\LaravelUserEmailVerification\Test\DatabaseTokenRepositoryTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Exibir arquivo
Open project: edvinaskrucas/laravel-user-email-verification
Public Methods
Method
Description
tearDown
( )
testCreateShouldDeleteExistingAndInsertNewOne
( )
testDeleteShouldDeleteExpiredTokens
( )
testDeleteShouldDeleteToken
( )
testDeleteShouldSkipDeleteExpiredIfDisabled
( )
testExistsOnExpiredToken
( )
testExistsOnNonExpiredToken
( )
testExistsShouldReturnFalseOnNotFound
( )
testExistsShouldReturnTrue
( )
Protected Methods
Method
Description
getMocks
( )
getQueryBuilderMock
( )
getRepository
(
$mocks
)
getUserMock
( )
Method Details
getMocks()
protected
method
protected
getMocks
( )
getQueryBuilderMock()
protected
method
protected
getQueryBuilderMock
( )
getRepository()
protected
method
protected
getRepository
(
$mocks
)
getUserMock()
protected
method
protected
getUserMock
( )
tearDown()
public
method
public
tearDown
( )
testCreateShouldDeleteExistingAndInsertNewOne()
public
method
public
testCreateShouldDeleteExistingAndInsertNewOne
( )
testDeleteShouldDeleteExpiredTokens()
public
method
public
testDeleteShouldDeleteExpiredTokens
( )
testDeleteShouldDeleteToken()
public
method
public
testDeleteShouldDeleteToken
( )
testDeleteShouldSkipDeleteExpiredIfDisabled()
public
method
public
testDeleteShouldSkipDeleteExpiredIfDisabled
( )
testExistsOnExpiredToken()
public
method
public
testExistsOnExpiredToken
( )
testExistsOnNonExpiredToken()
public
method
public
testExistsOnNonExpiredToken
( )
testExistsShouldReturnFalseOnNotFound()
public
method
public
testExistsShouldReturnFalseOnNotFound
( )
testExistsShouldReturnTrue()
public
method
public
testExistsShouldReturnTrue
( )