51 $_SESSION[
'UserId'] = $userId;
53 assertThat($this->userInfo->getUserId(), is($userId));
66 $_SESSION[
'GroupId'] = $groupId;
68 assertThat($this->userInfo->getGroupId(), is($groupId));
testGetGroupId()
Test for UserInfo::getGroupId()
Utility functions for specific applications.
Get user info from session.
Unit tests for UserInfo class.
setUp()
One time setup for test.
testGetUserId()
Test for UserInfo::getUserId()