Bug #29452

Wrong use of sys_get_temp_dir() in unit tests

Added by Karsten Dambekalns almost 4 years ago. Updated almost 4 years ago.

Status:Resolved Start date:2011-09-02
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:- Testing -
Target version:TYPO3 Flow Base Distribution - 1.0 beta 2
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

When running the unit tests, two warnings are emitted in EnvironmentTest:
PHP Warning: sys_get_temp_dir() expects exactly 0 parameters, 1 given in .../TYPO3.FLOW3/Tests/Unit/Utility/EnvironmentTest.php on line xx

Associated revisions

Revision aad9e634
Added by Karsten Dambekalns almost 4 years ago

[BUGFIX] Fix use of sys_get_temp_dir() in EnvironmentTest

There was a parameter given to sys_get_temp_dir(), but it accepts none.

Change-Id: Ie4b240b4de3a91f8c31e4334c52af6e93d225fd9
Fixes: #29452

History

#1 Updated by Mr. Hudson almost 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change Ie4b240b4de3a91f8c31e4334c52af6e93d225fd9 has been pushed to the review server.
It is available at http://review.typo3.org/4742

#2 Updated by Karsten Dambekalns almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF