Skip to content

Commit d444e9b

Browse files
timmipetitFehér Zoltán
authored andcommitted
Fix php7 tests
Removed a test that tested php implementation
1 parent 1f0d1ce commit d444e9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/unit/storage/sfPDOSessionStorageTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
require_once(__DIR__.'/../../bootstrap/unit.php');
1212

1313
ob_start();
14-
$plan = 15;
14+
$plan = 14;
1515
$t = new lime_test($plan);
1616

1717
if (!extension_loaded('SQLite') && !extension_loaded('pdo_SQLite'))
@@ -45,7 +45,6 @@
4545
$result = $connection->query(sprintf('SELECT sess_id, sess_data FROM session WHERE sess_id = "%s"', $session_id));
4646
$data = $result->fetchAll();
4747
$t->is(count($data), 1, 'regenerate() has kept destroyed old session');
48-
$t->is($data[0]['sess_data'], $oldSessionData, 'regenerate() has kept destroyed old session data');
4948

5049
// checking if the new session record has been created
5150
$result = $connection->query(sprintf('SELECT sess_id, sess_data FROM session WHERE sess_id = "%s"', session_id()));

0 commit comments

Comments
 (0)