Task #44434

Link generation in functional tests should behave like Apache with mod_rewrite

Added by Karsten Dambekalns over 2 years ago. Updated about 2 years ago.

Status:Resolved Start date:2013-01-10
Priority:Could have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:- Testing -
Target version:TYPO3 Flow Base Distribution - 2.0
Sprint: Has patch:No
PHP Version: Complexity:

Description

Currently links generated in functional tests include "index.php" as the FLOW_REWRITEURLS environment variable is not present (usually set in .htaccess if mod_rewrite is available).

By adding this environment variable in FunctionalTests.xml the tests would behave like most people would link building to work.

Associated revisions

Revision 5d1ed40f
Added by Karsten Dambekalns over 2 years ago

[TASK] Adjust tests to rewritten URLs in functional tests

The resolution for #44434 makes Flow behave as if mod_rewrite was
available during functional tests. Some tests checking against
generated URLs need to be adjusted, so they no longer expect it to
produce links with embedded "index.php".

Change-Id: I1a8d6a6ce69016d3c411c3da567084aa0d5cf3ca
Related: #44434
Releases: master, 2.0

Revision ee050af3
Added by Karsten Dambekalns over 2 years ago

[TASK] Adjust tests to rewritten URLs in functional tests

The resolution for #44434 makes Flow behave as if mod_rewrite was
available during functional tests. Some tests checking against
generated URLs need to be adjusted, so they no longer expect it to
produce links with embedded "index.php".

Change-Id: I1a8d6a6ce69016d3c411c3da567084aa0d5cf3ca
Related: #44434
Releases: master, 2.0

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17448

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17448

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19571

#4 Updated by Karsten Dambekalns about 2 years ago

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

Also available in: Atom PDF