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 "registration: Only allow one extension to set a specific config setting"
[lhc/web/wiklou.git]
/
tests
/
integration
/
includes
/
http
/
MWHttpRequestTestCase.php
diff --git
a/tests/integration/includes/http/MWHttpRequestTestCase.php
b/tests/integration/includes/http/MWHttpRequestTestCase.php
index
4fd1cde
..
81473df
100644
(file)
--- a/
tests/integration/includes/http/MWHttpRequestTestCase.php
+++ b/
tests/integration/includes/http/MWHttpRequestTestCase.php
@@
-1,5
+1,7
@@
<?php
<?php
+use Wikimedia\TestingAccessWrapper;
+
class MWHttpRequestTestCase extends PHPUnit_Framework_TestCase {
protected static $httpEngine;
protected $oldHttpEngine;
class MWHttpRequestTestCase extends PHPUnit_Framework_TestCase {
protected static $httpEngine;
protected $oldHttpEngine;
@@
-232,7
+234,7
@@
class MWHttpRequestTestCase extends PHPUnit_Framework_TestCase {
/**
* Asserts that the cookie jar does not have the given cookie.
/**
* Asserts that the cookie jar does not have the given cookie.
- * @param string $
expectedN
ame Cookie name
+ * @param string $
n
ame Cookie name
* @param CookieJar $cookieJar
*/
protected function assertNotHasCookie( $name, CookieJar $cookieJar ) {
* @param CookieJar $cookieJar
*/
protected function assertNotHasCookie( $name, CookieJar $cookieJar ) {
@@
-241,4
+243,3
@@
class MWHttpRequestTestCase extends PHPUnit_Framework_TestCase {
array_change_key_case( $cookieJar->cookie, CASE_LOWER ) );
}
}
array_change_key_case( $cookieJar->cookie, CASE_LOWER ) );
}
}
-