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 "Add string length limits"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
PreferencesTest.php
diff --git
a/tests/phpunit/includes/PreferencesTest.php
b/tests/phpunit/includes/PreferencesTest.php
index
d78c1e7
..
4a15225
100644
(file)
--- a/
tests/phpunit/includes/PreferencesTest.php
+++ b/
tests/phpunit/includes/PreferencesTest.php
@@
-150,13
+150,9
@@
class PreferencesTest extends MediaWikiTestCase {
/** Helper */
protected function prefsFor( $user_key ) {
/** Helper */
protected function prefsFor( $user_key ) {
- $preferences = [];
- Preferences::profilePreferences(
+ return Preferences::getPreferences(
$this->prefUsers[$user_key],
$this->prefUsers[$user_key],
- $this->context,
- $preferences
+ $this->context
);
);
-
- return $preferences;
}
}
}
}