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

[BUGFIX] Avoid broken assertion in ExtensionRepositoryTest

$this->count() in phpunit always returns 1 and has no arguments
as correctly found by phpstan. Fix a test to actually assert
subject result count.

Resolves: #103924
Releases: main, 12.4
Change-Id: I396b695eaeaa986a4cd9883e028ed6032d2f6339
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84412


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent af771aa5
Branches
Tags
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