Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/ZF-9197' of https://github.com/thomasweidner/zf2
Browse files Browse the repository at this point in the history
…into hotfix/zf-9197

Conflicts:
	library/Zend/Filter/InputFilter.php
	tests/Zend/Filter/InputTest.php
  • Loading branch information
weierophinney committed Aug 25, 2011
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions test/Writer/FirebugTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@ class FirebugTest extends \PHPUnit_Framework_TestCase
protected $_writer = null;
protected $_logger = null;

/**
* Stores the original set timezone
* @var string
*/
private $_originaltimezone;

public function setUp()
{
$this->_originaltimezone = date_default_timezone_get();
date_default_timezone_set('America/Los_Angeles');

// Reset front controller to reset registered plugins and
Expand Down Expand Up @@ -74,6 +81,7 @@ public function tearDown()
{
Channel\HttpHeaders::destroyInstance();
FirePhp::destroyInstance();
date_default_timezone_set($this->_originaltimezone);
}

/**
Expand Down Expand Up @@ -206,9 +214,9 @@ public function testAdvancedLogging()
$table = array(
'Summary line for the table',
array(
array('Column 1', 'Column 2'),
array('Row 1 c 1',' Row 1 c 2'),
array('Row 2 c 1',' Row 2 c 2')
array('Column 1', 'Column 2'),
array('Row 1 c 1',' Row 1 c 2'),
array('Row 2 c 1',' Row 2 c 2')
)
);

Expand Down

0 comments on commit c024fe1

Please sign in to comment.