svn: /pear/packages/Services_Amazon_SQS/trunk/tests/ TestCase.php

From: Date: Mon, 28 Nov 2011 01:52:33 +0000
Subject: svn: /pear/packages/Services_Amazon_SQS/trunk/tests/ TestCase.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-63117@lists.php.net to get a copy of this message
gauthierm Mon, 28 Nov 2011 01:52:33 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=320066 Log: Remove erorr reporting level from test case. It can be specified in the phpunit command line. Fixes Bug #19020. Bug: http://pear.php.net/bugs/19020 (unknown) Changed paths: U pear/packages/Services_Amazon_SQS/trunk/tests/TestCase.php Modified: pear/packages/Services_Amazon_SQS/trunk/tests/TestCase.php =================================================================== --- pear/packages/Services_Amazon_SQS/trunk/tests/TestCase.php 2011-11-28 01:51:10 UTC (rev 320065) +++ pear/packages/Services_Amazon_SQS/trunk/tests/TestCase.php 2011-11-28 01:52:33 UTC (rev 320066) @@ -15,7 +15,7 @@ * * LICENSE: * - * Copyright 2008 Mike Brittain, 2008-2009 silverorange + * Copyright 2008 Mike Brittain, 2008-2011 silverorange * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,7 +34,7 @@ * @author Mike Brittain <mike@mikebrittain.com> * @author Michael Gauthier <mike@silverorange.com> * @copyright 2008 Mike Brittain - * @copyright 2008-2009 silverorange + * @copyright 2008-2011 silverorange * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @version CVS: $Id$ * @link http://pear.php.net/package/Services_Amazon_SQS @@ -107,20 +107,10 @@ protected $request = null; // }}} - // {{{ private properties - - /** - * @var integer - */ - private $_oldErrorLevel = 0; - - // }}} // {{{ setUp() public function setUp() { - $this->_oldErrorLevel = error_reporting(E_ALL | E_STRICT); - $this->mock = new HTTP_Request2_Adapter_Mock(); $this->request = new HTTP_Request2(); @@ -148,9 +138,6 @@ unset($this->manager); unset($this->queue); unset($this->mock); - - // restore error handling - error_reporting($this->_oldErrorLevel); } // }}}

« previous php.pear.cvs (#63117) next »