Tests: Simplify badaccess group check for patrol action
authorKosta Harlan <kharlan@wikimedia.org>
Thu, 4 Oct 2018 13:52:41 +0000 (09:52 -0400)
committerKrinkle <krinklemail@gmail.com>
Wed, 10 Oct 2018 03:59:53 +0000 (03:59 +0000)
commit5685904a111e4dfeb2ed9bc685a4fe161e177f76
treef556a3ac3833bbad149c7833515b1cedd0899b7e
parente94964989dc3508ccfcd4f6d71a912b98a75a5be
Tests: Simplify badaccess group check for patrol action

The important part of the assertion is badaccess-groups, so we can drop the
other components and simplify the test code, plus also work around database
name issues that caused Travis CI to fail.

Bug: T206130
Change-Id: I137be892a611cd1f2d61baa77ad9528659587adf
tests/phpunit/includes/TitlePermissionTest.php