Changeset 547 for trunk/tests


Ignore:
Timestamp:
Aug 27, 2015 3:22:39 AM (9 years ago)
Author:
anonymous
Message:

Moved CLI flag to ->cli which can be forced off for tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/AppTest.php

    r541 r547  
    4141        require dirname(__FILE__) . '/_config.inc.php';
    4242        $this->App =& $app;
     43        $this->App->cli = false;
    4344        $_SESSION = AppTest::$shared_session;
    4445    }
     
    5354    {
    5455        $thisapp =& App::getInstance();
    55         $this->assertTrue(serialize($thisapp) == serialize($this->App), 'Objects do not match across instantiations.');
     56        $this->assertTrue(serialize($thisapp) === serialize($this->App), 'Objects do not match across instantiations.');
    5657    }
    5758
Note: See TracChangeset for help on using the changeset viewer.