Nicolas Peugnet 4a966b830f
Do not catch exceptions when testing Console commands (#3813)
* Do not catch exceptions when testing Console commands

This allows to easily test a case where a command should throw using `$this->expectException()`.

* Rewrite ConsoleTest to use expectException

Now that the ConsoleApplication is set to not catch exceptions.

---------

Co-authored-by: IanM <16573496+imorland@users.noreply.github.com>
2023-06-21 08:14:12 +01:00
..
2023-06-15 13:26:39 +01:00
2021-03-11 13:07:31 -05:00
2023-05-31 09:50:39 +01:00
2021-05-15 00:58:25 +01:00