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

From: Date: Mon, 28 Nov 2011 01:51:10 +0000
Subject: svn: /pear/packages/Services_Akismet2/trunk/tests/ TestCase.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-63116@lists.php.net to get a copy of this message
gauthierm Mon, 28 Nov 2011 01:51:10 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=320065 Log: Remove erorr reporting level from test case. It can be specified in the phpunit command line. Fixes Bug #19019. Bug: http://pear.php.net/bugs/19019 (unknown) Changed paths: U pear/packages/Services_Akismet2/trunk/tests/TestCase.php Modified: pear/packages/Services_Akismet2/trunk/tests/TestCase.php =================================================================== --- pear/packages/Services_Akismet2/trunk/tests/TestCase.php 2011-11-28 01:48:58 UTC (rev 320064) +++ pear/packages/Services_Akismet2/trunk/tests/TestCase.php 2011-11-28 01:51:10 UTC (rev 320065) @@ -12,7 +12,7 @@ * * LICENSE: * - * Copyright (c) 2008 silverorange + * Copyright (c) 2008-2011 silverorange * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -35,7 +35,7 @@ * @category Services * @package Services_Akismet2 * @author Michael Gauthier <mike@silverorange.com> - * @copyright 2008 silverorange + * @copyright 2008-2011 silverorange * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version CVS: $Id$ * @link http://pear.php.net/package/Services_Akismet2 @@ -92,20 +92,10 @@ protected $mock = null; // }}} - // {{{ private properties - - /** - * @var integer - */ - private $_oldErrorLevel; - - // }}} // {{{ setUp() public function setUp() { - $this->_oldErrorLevel = error_reporting(E_ALL | E_STRICT); - $this->mock = new HTTP_Request2_Adapter_Mock(); $request = new HTTP_Request2(); @@ -122,7 +112,6 @@ { unset($this->akismet); unset($this->mock); - error_reporting($this->_oldErrorLevel); } // }}}

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