Preventing session started messages in session test

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4775 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2007-04-05 04:27:44 +00:00
parent 56b7050858
commit 5c1d178616

View file

@ -37,7 +37,11 @@
class SessionTest extends UnitTestCase {
function setUp() {
$this->Session = new CakeSession();
restore_error_handler();
@$this->Session =& new CakeSession();
set_error_handler('simpleTestErrorHandler');
}
function testCheck() {