projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the Search API Synonym module to deal specifically with licence and license...
[yaffs-website]
/
vendor
/
symfony
/
http-foundation
/
Tests
/
ServerBagTest.php
diff --git
a/vendor/symfony/http-foundation/Tests/ServerBagTest.php
b/vendor/symfony/http-foundation/Tests/ServerBagTest.php
index c1d9d12a654ba038243ad9e26d0cf68f6310e944..f8becec5a982df0ffc049c1f409e334b7e260cc2 100644
(file)
--- a/
vendor/symfony/http-foundation/Tests/ServerBagTest.php
+++ b/
vendor/symfony/http-foundation/Tests/ServerBagTest.php
@@
-74,8
+74,8
@@
class ServerBagTest extends TestCase
// Username and passwords should not be set as the header is bogus
$headers = $bag->getHeaders();
// Username and passwords should not be set as the header is bogus
$headers = $bag->getHeaders();
- $this->assert
False(isset($headers['PHP_AUTH_USER'])
);
- $this->assert
False(isset($headers['PHP_AUTH_PW'])
);
+ $this->assert
ArrayNotHasKey('PHP_AUTH_USER', $headers
);
+ $this->assert
ArrayNotHasKey('PHP_AUTH_PW', $headers
);
}
public function testHttpBasicAuthWithPhpCgiRedirect()
}
public function testHttpBasicAuthWithPhpCgiRedirect()
@@
-118,8
+118,8
@@
class ServerBagTest extends TestCase
// Username and passwords should not be set as the header is bogus
$headers = $bag->getHeaders();
// Username and passwords should not be set as the header is bogus
$headers = $bag->getHeaders();
- $this->assert
False(isset($headers['PHP_AUTH_USER'])
);
- $this->assert
False(isset($headers['PHP_AUTH_PW'])
);
+ $this->assert
ArrayNotHasKey('PHP_AUTH_USER', $headers
);
+ $this->assert
ArrayNotHasKey('PHP_AUTH_PW', $headers
);
}
public function testHttpDigestAuthWithPhpCgiRedirect()
}
public function testHttpDigestAuthWithPhpCgiRedirect()