projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pathologic was missing because of a .git folder inside.
[yaffs-website]
/
vendor
/
symfony
/
http-foundation
/
Tests
/
RequestTest.php
diff --git
a/vendor/symfony/http-foundation/Tests/RequestTest.php
b/vendor/symfony/http-foundation/Tests/RequestTest.php
index fa3fc3ef8d8cc7a936275c208c4c6c108044ad2e..b1d69b64c6dd857b56ef87ac671f511b40a78694 100644
(file)
--- a/
vendor/symfony/http-foundation/Tests/RequestTest.php
+++ b/
vendor/symfony/http-foundation/Tests/RequestTest.php
@@
-1008,7
+1008,7
@@
class RequestTest extends TestCase
$req = new Request(array(), array(), array(), array(), array(), array(), 'MyContent');
$resource = $req->getContent(true);
$req = new Request(array(), array(), array(), array(), array(), array(), 'MyContent');
$resource = $req->getContent(true);
- $this->assert
True(is_resource($resource)
);
+ $this->assert
InternalType('resource', $resource
);
$this->assertEquals('MyContent', stream_get_contents($resource));
}
$this->assertEquals('MyContent', stream_get_contents($resource));
}
@@
-1029,7
+1029,7
@@
class RequestTest extends TestCase
*/
public function testGetContentCantBeCalledTwiceWithResources($first, $second)
{
*/
public function testGetContentCantBeCalledTwiceWithResources($first, $second)
{
- if (PHP_VERSION_ID >= 50600) {
+ if (
\
PHP_VERSION_ID >= 50600) {
$this->markTestSkipped('PHP >= 5.6 allows to open php://input several times.');
}
$this->markTestSkipped('PHP >= 5.6 allows to open php://input several times.');
}