Commit bf1f6c5
committed
minor #16107 Fix assert statement (nacholibre)
This PR was squashed before being merged into the 4.4 branch.
Discussion
----------
Fix assert statement
In my local version of phpunit 9.5.9 `$this->assertContains` has the following signature:
```php
public static function assertContains($needle, iterable $haystack, string $message = ''): void
{
//..
}
```
Where `$commandTester->getDisplay();` returns string and the test fails with
```
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertContains() must be iterable, string given, called in..
```
Commits
-------
37d1373 Fix assert statement1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| |||
0 commit comments