UserFrosting API

SessionFileHandlerTest extends TestCase

Integration tests for the session service.

Table of Contents

testSessionWrite() Test FileSessionHandler works with our locator mixed
testUsingSessionDouble() mixed
testUsingSessionService() mixed
getSession() Simulate session service with database handler. Session
sessionTests() mixed

Methods

testSessionWrite()

Test FileSessionHandler works with our locator

public testSessionWrite( ) : mixed
Return values
mixed

testUsingSessionDouble()

public testUsingSessionDouble( ) : mixed
Tags
depends

testSessionWrite

Return values
mixed

testUsingSessionService()

public testUsingSessionService( ) : mixed
Tags
depends

testUsingSessionDouble

Return values
mixed

getSession()

Simulate session service with database handler.

protected getSession( ) : Session

We can't use the real service as it is created before we can even setup the in-memory database with the basic table we need

Return values
Session

Search results