Skip to content

Commit 97e034e

Browse files
PHPREDIS-37: Disabled error_reporting for session tests, to avoid failing tests caused by correct thrown warnings/notices
1 parent e296429 commit 97e034e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/getSessionData.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
error_reporting(0);
3+
24
$redisHost = $argv[1];
35
$sessionId = $argv[2];
46

tests/startSession.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
error_reporting(0);
3+
24
$redisHost = $argv[1];
35
$sessionId = $argv[2];
46
$sleepTime = $argv[3];

0 commit comments

Comments
 (0)