userExpLevel test: use $tables from function under tests
authorStephane Bisson <sbisson@wikimedia.org>
Fri, 21 Apr 2017 16:15:40 +0000 (12:15 -0400)
committerStephane Bisson <sbisson@wikimedia.org>
Fri, 21 Apr 2017 16:15:40 +0000 (12:15 -0400)
commit685c9e15b506d9fc4172c438fd70bf1577ba37b2
tree4d759276ec72619ec36e2a20b8fb268bdccb227a
parent31886054895d729b92e22b5cb4e2b952ec22272d
userExpLevel test: use $tables from function under tests

This is to make sure that the function under tests
correctly adds 'user' to the $tables variable
where it adds conditions against this table.

Bug: T161041
Change-Id: I0e9e97e4a24bdf6f488bc1b1e758904496c7efe8
tests/phpunit/includes/specialpage/ChangesListSpecialPageTest.php