Project

General

Profile

Actions

Task #94751

closed

Improve PHPunit assertions

Added by Wouter Wolters over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2021-08-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Improve PHPunit assertions

Correct order of arguments in assertions
array_key_exists checks
assertCount instead of count with assertEquals

Actions

Also available in: Atom PDF