[TASK] Replace @expectedException annotation in sysext:scheduler
Use expectException() instead of @expectedException in unit tests and add expectedExceptionCode() where possible. This patch handles occurences in sysext:scheduler. Releases: master Resolves: #76506 Change-Id: I545836f86504f2f8297799dfc4c6e370bbd4fbdf Reviewed-on: https://review.typo3.org/48501 Reviewed-by:Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Susanne Moog <typo3@susannemoog.de> Tested-by:
Susanne Moog <typo3@susannemoog.de>
Showing
- typo3/sysext/scheduler/Tests/Unit/CronCommand/CronCommandTest.php 4 additions, 2 deletions...sext/scheduler/Tests/Unit/CronCommand/CronCommandTest.php
- typo3/sysext/scheduler/Tests/Unit/CronCommand/NormalizeCommandTest.php 278 additions, 245 deletions...scheduler/Tests/Unit/CronCommand/NormalizeCommandTest.php
This diff is collapsed.
Please register or sign in to comment