Add test for getRedactedTrace and reference args
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 1 Nov 2013 18:33:21 +0000 (14:33 -0400)
committerHashar <hashar@free.fr>
Fri, 1 Nov 2013 23:36:13 +0000 (23:36 +0000)
commit405acaeba6d980682ef26158e41dc4a834e51f3f
tree423660917d05f28be87a71048b8d4a88c7a5c1c7
parent15c989f043fd0262f17ecb59eda01c0098ad6fcd
Add test for getRedactedTrace and reference args

This tests the issue PleaseStand noticed when reviewing I3d570a63, where
if some function in the call stack took arguments by reference then
passing the exception to MWExceptionHandler::getRedactedTrace would
clobber those arguments.

Change-Id: Iaaba3ef2fb5eb6a338ab229201105ed4308b0692
tests/phpunit/includes/MWExceptionHandlerTest.php