dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Move around "ا" to after "آ" and not before"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
changes
/
ChangesListStringOptionsFilterGroupTest.php
diff --git
a/tests/phpunit/includes/changes/ChangesListStringOptionsFilterGroupTest.php
b/tests/phpunit/includes/changes/ChangesListStringOptionsFilterGroupTest.php
index
0f556b8
..
4f917e9
100644
(file)
--- a/
tests/phpunit/includes/changes/ChangesListStringOptionsFilterGroupTest.php
+++ b/
tests/phpunit/includes/changes/ChangesListStringOptionsFilterGroupTest.php
@@
-1,5
+1,7
@@
<?php
<?php
+use Wikimedia\TestingAccessWrapper;
+
/**
* @covers ChangesListStringOptionsFilterGroup
*/
/**
* @covers ChangesListStringOptionsFilterGroup
*/
@@
-38,8
+40,6
@@
class ChangesListStringOptionsFilterGroupTest extends MediaWikiTestCase {
* @dataProvider provideModifyQuery
*/
public function testModifyQuery( $filterDefinitions, $expectedValues, $input ) {
* @dataProvider provideModifyQuery
*/
public function testModifyQuery( $filterDefinitions, $expectedValues, $input ) {
- $self = $this;
-
$queryCallable = function (
$className,
$ctx,
$queryCallable = function (
$className,
$ctx,
@@
-50,8
+50,8
@@
class ChangesListStringOptionsFilterGroupTest extends MediaWikiTestCase {
&$query_options,
&$join_conds,
$actualSelectedValues
&$query_options,
&$join_conds,
$actualSelectedValues
- ) use ( $
self, $
expectedValues ) {
- $
self
->assertSame(
+ ) use ( $expectedValues ) {
+ $
this
->assertSame(
$expectedValues,
$actualSelectedValues
);
$expectedValues,
$actualSelectedValues
);