~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to tests/LocalWebTestCase.php

  • Committer: Dan Garner
  • Date: 2018-01-18 18:09:34 UTC
  • mto: This revision was merged to the branch mainline in revision 605.
  • Revision ID: git-v1:eb1513383ae1c6c28bf947146f72f1d7001c3de5
Add some missing extensions. Run test suite for Cache tests - all OK.
Memory error running all tests - need to investigate
xibosignage/xibo#1380
xibosignage/xibo#1382

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
use Monolog\Handler\StreamHandler;
11
11
use Monolog\Logger;
12
12
use Psr\Log\LoggerInterface;
 
13
use Psr\Log\NullLogger;
13
14
use Slim\Environment;
14
15
use Slim\Helper\Set;
15
16
use Slim\Log;
301
302
    {
302
303
        // Create if necessary
303
304
        if (self::$logger === null) {
304
 
            self::$logger = new Logger('TESTS', [new \Monolog\Handler\StreamHandler(STDERR, Logger::DEBUG)]);
 
305
            //self::$logger = new Logger('TESTS', [new \Monolog\Handler\StreamHandler(STDERR, Logger::DEBUG)]);
 
306
            self::$logger = new NullLogger();
305
307
        }
306
308
 
307
309
        return self::$logger;