Fixes #6143 - Mocks session for ElggEntityTest
Merge pull request #6144 from Srokap/ticket_6143

Fixes #6143 - Mocks session for ElggEntityTest