Skip to content
Snippets Groups Projects
Commit d62c1038 authored by Garvin Hicking's avatar Garvin Hicking Committed by Christian Kuhn
Browse files

[TASK] Avoid wantTo() and wantToTest() in ac tests

Using the methods does not improve output, but makes
reading harder: A first wantTo() changes the title
of a test within the output - that is usually derived
from the test method name - to the wantTo() message.
This leads to things like different tests having the
same name. Our test names are good, use them!
Any second or other use of wantTo() does nothing in
the output at all.

The patch removes wantTo() and wantToTest() (similar
behavior), and turns some of them into code comments.

This should make the test logs more easy to understand
and follow.

Resolves: #103916
Releases: main
Change-Id: Ie88d8fd937151c1b471cfa3b4743e7639bf2c7fb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84403


Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 4d3d948f
No related merge requests found
Showing
with 12 additions and 76 deletions
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