Kohana v3.3.5

This commit is contained in:
Deon George
2016-05-01 20:50:24 +10:00
parent 8888719653
commit 68c7f4f159
170 changed files with 4565 additions and 1176 deletions

View File

@@ -95,20 +95,14 @@ class Kohana_SessionTest extends Unittest_TestCase
*/
public function test_constructor_loads_session_with_session_id()
{
$this->markTestIncomplete(
'Need to work out why constructor is not being called'
);
$config = array();
$session_id = 'lolums';
// Don't auto-call constructor, we need to setup the mock first
$session = $this->getMockForAbstractClass(
'Session',
array(),
'',
FALSE
);
$session = $this->getMockBuilder('Session')
->disableOriginalConstructor()
->setMethods(array('read'))
->getMockForAbstractClass();
$session
->expects($this->once())