Problem/Motivation
$this→assertTrue(assert($condition), 'messsage'); should not contain the assert() — otherwise it masks the actual test failure.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3198135-5.patch | 1.29 KB | wim leers |
| #2 | 3198135-2.patch | 1.29 KB | wim leers |
Comments
Comment #2
wim leersComment #3
wim leersPasses tests. This is IMHO fine to self-RTBC.
Comment #4
huzookaIt would be better to use
assertInstanceOf.Comment #5
wim leersOh, you're totally right! I just optimized for minimal change. But +1 to getting it right! 🤓Done!
Comment #6
huzookaComment #7
huzookaComment #9
huzookaComment #10
huzooka