Documentation

ShowLoginViewTest extends TestCase
in package

Table of Contents

Properties

$session  : mixed

Methods

testLoginView()  : mixed
testLoginViewWithActiveUser()  : mixed
assertLocationHeader()  : mixed
createRequest()  : ServerRequestInterface
getAppInstance()  : App
getSession()  : Session
setUp()  : void

Properties

Methods

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