tests: Allow string to be passed to getTestUser() etc.
authorAryeh Gregor <ayg@aryeh.name>
Thu, 4 Oct 2018 12:56:41 +0000 (15:56 +0300)
committerLegoktm <legoktm@member.fsf.org>
Thu, 4 Oct 2018 15:30:47 +0000 (15:30 +0000)
commitb93b18d98afe0696357a74fe373e4b4542958965
treeb0b89114064c352626ecf00f6eb5d1aa952cb57e
parentc057200613cd5957419389b3dc01a826c9eb396e
tests: Allow string to be passed to getTestUser() etc.

If there's only one group, let's not require the brackets.

Change-Id: Ib46ef1facbbbf2ba01c13b8290ebbe3a8e08cb4f
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/TestUserRegistry.php