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
ContribsPager: Fix slow queries
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
specials
/
ContribsPagerTest.php
diff --git
a/tests/phpunit/includes/specials/ContribsPagerTest.php
b/tests/phpunit/includes/specials/ContribsPagerTest.php
index
dc02922
..
e881611
100644
(file)
--- a/
tests/phpunit/includes/specials/ContribsPagerTest.php
+++ b/
tests/phpunit/includes/specials/ContribsPagerTest.php
@@
-158,9
+158,7
@@
class ContribsPagerTest extends MediaWikiTestCase {
$this->assertContains( 'ip_changes', $queryInfo[0] );
$this->assertArrayHasKey( 'ip_changes', $queryInfo[5] );
$this->assertContains( 'ip_changes', $queryInfo[0] );
$this->assertArrayHasKey( 'ip_changes', $queryInfo[5] );
- $this->assertSame( 'ipc_rev_timestamp', $queryInfo[1]['rev_timestamp'] );
- $this->assertSame( 'ipc_rev_id', $queryInfo[1]['rev_id'] );
- $this->assertSame( [ 'rev_timestamp DESC', 'rev_id DESC' ], $queryInfo[4]['ORDER BY'] );
+ $this->assertSame( [ 'ipc_rev_timestamp DESC', 'ipc_rev_id DESC' ], $queryInfo[4]['ORDER BY'] );
}
}
}
}