PHP Class ImboUnitTest\EventListener\StatsAccessTest

Inheritance: extends ImboUnitTest\EventListener\ListenerTests
Datei anzeigen Open project: imbo/imbo

Public Methods

Method Description
getFilterData ( ) : array[] Data provider
setUp ( ) Set up the listener
tearDown ( ) Tear down the listener
testCanUseDifferentFilters ( $clientIp, $allow, $hasAccess )
testDoesNotAllowAnyIpAddressPerDefault ( )
testHasHigherPriorityThanTheStatsResource ( )
testListensToTheSameEventsAsTheStatsResource ( )

Protected Methods

Method Description
getListener ( )

Method Details

getFilterData() public method

Data provider
public getFilterData ( ) : array[]
return array[]

getListener() protected method

protected getListener ( )

setUp() public method

Set up the listener
public setUp ( )

tearDown() public method

Tear down the listener
public tearDown ( )

testCanUseDifferentFilters() public method

public testCanUseDifferentFilters ( $clientIp, $allow, $hasAccess )

testDoesNotAllowAnyIpAddressPerDefault() public method

testHasHigherPriorityThanTheStatsResource() public method

See also: https://github.com/imbo/imbo/issues/251 This test is best run with "In the Ghetto" blasting on the stereo

testListensToTheSameEventsAsTheStatsResource() public method

See also: https://github.com/imbo/imbo/issues/249