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 "Remove $wgAuth usage from wrapOldPasswords.php"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
FauxResponseTest.php
diff --git
a/tests/phpunit/includes/FauxResponseTest.php
b/tests/phpunit/includes/FauxResponseTest.php
index
85ac4ce
..
eac56fb
100644
(file)
--- a/
tests/phpunit/includes/FauxResponseTest.php
+++ b/
tests/phpunit/includes/FauxResponseTest.php
@@
-69,33
+69,33
@@
class FauxResponseTest extends MediaWikiTestCase {
* @covers FauxResponse::header
*/
public function testHeader() {
* @covers FauxResponse::header
*/
public function testHeader() {
- $this->assertEquals( null, $this->response->get
h
eader( 'Location' ), 'Non-existing header' );
+ $this->assertEquals( null, $this->response->get
H
eader( 'Location' ), 'Non-existing header' );
$this->response->header( 'Location: http://localhost/' );
$this->assertEquals(
'http://localhost/',
$this->response->header( 'Location: http://localhost/' );
$this->assertEquals(
'http://localhost/',
- $this->response->get
h
eader( 'Location' ),
+ $this->response->get
H
eader( 'Location' ),
'Set header'
);
$this->response->header( 'Location: http://127.0.0.1/' );
$this->assertEquals(
'http://127.0.0.1/',
'Set header'
);
$this->response->header( 'Location: http://127.0.0.1/' );
$this->assertEquals(
'http://127.0.0.1/',
- $this->response->get
h
eader( 'Location' ),
+ $this->response->get
H
eader( 'Location' ),
'Same header'
);
$this->response->header( 'Location: http://127.0.0.2/', false );
$this->assertEquals(
'http://127.0.0.1/',
'Same header'
);
$this->response->header( 'Location: http://127.0.0.2/', false );
$this->assertEquals(
'http://127.0.0.1/',
- $this->response->get
h
eader( 'Location' ),
+ $this->response->get
H
eader( 'Location' ),
'Same header with override disabled'
);
$this->response->header( 'Location: http://localhost/' );
$this->assertEquals(
'http://localhost/',
'Same header with override disabled'
);
$this->response->header( 'Location: http://localhost/' );
$this->assertEquals(
'http://localhost/',
- $this->response->get
h
eader( 'LOCATION' ),
+ $this->response->get
H
eader( 'LOCATION' ),
'Get header case insensitive'
);
}
'Get header case insensitive'
);
}