Issues

ZF-9197: Modifiy the default date timezone without reverting it back to it's previous value

Issue Type: Unit Tests: Problem Created: 2010-02-17T03:43:17.000+0000 Last Updated: 2011-08-26T17:55:54.000+0000 Status: Resolved Fix version(s): - Next Major Release ()

Reporter: Marc Easen (marc.easen) Assignee: Thomas Weidner (thomas) Tags: - Zend_Amf

  • Zend_Cache
  • Zend_Db_Profiler
  • Zend_InfoCard
  • Zend_Log
  • Zend_Pdf
  • Zend_Queue
  • Zend_View
  • Zend_Wildfire

Related issues: Attachments:

Description

Some of the tests for the selected components include calls to the PHP function date_default_timezone_set() to change the date.timezone to allow the their tests to execute correctly. The problem is that these test don't change it back to its previous value after the test has executed, therefore changing the test environment and invalidating any tests which execute after wards.

Comments

Posted by Thomas Weidner (thomas) on 2011-08-26T17:55:54.000+0000

Fixed in ZF2 with GH-325

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts