mirror of
https://github.com/flarum/framework.git
synced 2025-03-04 14:41:10 +08:00

* 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>