Skip to content
Snippets Groups Projects
Commit 84bc062e authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] errorHandling setup in site based functional tests

Some functional tests using SiteBasedTestTrait create
a broken site config, example:

base: 'https://website.local/'
errorHandling:
  -
    -
      errorFluidTemplate: typo3/[...]/FluidError.html
      errorFluidTemplatesRootPath: ''
      errorFluidLayoutsRootPath: ''
      errorFluidPartialsRootPath: ''
      errorHandler: Fluid
      errorCode: 404

It should be:

base: 'https://website.local/'
errorHandling:
  -
    errorFluidTemplate: typo3/[...]/FluidError.html
    errorFluidTemplatesRootPath: ''
    errorFluidLayoutsRootPath: ''
    errorFluidPartialsRootPath: ''
    errorHandler: Fluid
    errorCode: 404

This is due to a superfluous array when creating the
site config. The patch adapts usages.

Change-Id: I953abb0cd5d3414e8ea259e73b47cc6b391b299a
Resolves: #95523
Releases: master
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71485


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent c1d2ad4f
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment