Patch #4653

Fix for unittest system/tests/kohana/SessionTest.php

Added by Valeriy Volkov about 2 years ago. Updated about 2 years ago.

Status:NewStart date:11/10/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Core
Target version:-
Resolution: Points:1

Description

diff --git a/system/tests/kohana/SessionTest.php b/system/tests/kohana/SessionTest.php
index 1f34fa8..3ca7930 100644
--- a/system/tests/kohana/SessionTest.php
+++ b/system/tests/kohana/SessionTest.php
@ -95,10 +95,6 @
*/
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';

@ -107,7 +103,10 @
'Session',
array(),
'',
- FALSE
+ FALSE,
+ TRUE,
+ TRUE,
+ array('read')
);

$session

session_test_patch.txt Magnifier (607 Bytes) Valeriy Volkov, 11/10/2012 02:00 PM

History

#1 Updated by Valeriy Volkov about 2 years ago

Seems formating broken, here is patch in file

Also available in: Atom PDF