Documentation

ManagerTest extends TestCase
in package

Table of Contents

Properties

$REDIRECT  : mixed
$session  : mixed
$USER  : mixed

Methods

setUpBeforeClass()  : void
testConstructorCustomDefaultRedirect()  : mixed
testConstructorCustomLoginPath()  : mixed
testConstructorDefault()  : mixed
testEndUserSession()  : mixed
testStartUserLogin()  : mixed
testStartUserLoginWithLoggedInUser()  : mixed
testStartUserSession()  : mixed
assertLocationHeader()  : mixed
createRequest()  : ServerRequestInterface
getAppInstance()  : App
getSession()  : Session
setUp()  : void
getManager()  : Manager

Properties

Methods

setUpBeforeClass()

public static setUpBeforeClass() : void

testConstructorCustomDefaultRedirect()

public testConstructorCustomDefaultRedirect() : mixed

testConstructorCustomLoginPath()

public testConstructorCustomLoginPath() : mixed

testConstructorDefault()

public testConstructorDefault() : mixed

testEndUserSession()

public testEndUserSession() : mixed

testStartUserLogin()

public testStartUserLogin() : mixed

testStartUserLoginWithLoggedInUser()

public testStartUserLoginWithLoggedInUser() : mixed

testStartUserSession()

public testStartUserSession() : mixed

assertLocationHeader()

protected assertLocationHeader(mixed $expectedLocation, ResponseInterface $response[, string $message = "" ]) : mixed
Parameters
$expectedLocation : mixed
$response : ResponseInterface
$message : string = ""

createRequest()

protected createRequest(string $method, string $path[, array<string|int, mixed> $headers = ["HTTP_ACCEPT" => "application/json"] ][, array<string|int, mixed>|null $body = null ][, array<string|int, mixed> $cookies = [] ][, array<string|int, mixed> $serverParams = [] ]) : ServerRequestInterface
Parameters
$method : string
$path : string
$headers : array<string|int, mixed> = ["HTTP_ACCEPT" => "application/json"]
$body : array<string|int, mixed>|null = null
$cookies : array<string|int, mixed> = []
$serverParams : array<string|int, mixed> = []
Return values
ServerRequestInterface

getAppInstance()

protected getAppInstance() : App
Return values
App

        
On this page

Search results