Skip to content

Commit 24edc19

Browse files
Merge branch '5.4' into 6.0
* 5.4: Fix tests [HttpKernel] skip test on appveyor [AMQP] [Messenger] Do not leak any credentials when connection fails
2 parents 5b5c09e + 2414819 commit 24edc19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/HttpKernelBrowserTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ public function testUploadedFileWhenNoFileSelected()
143143

144144
public function testUploadedFileWhenSizeExceedsUploadMaxFileSize()
145145
{
146+
if (UploadedFile::getMaxFilesize() > \PHP_INT_MAX) {
147+
$this->markTestSkipped('Requires PHP_INT_MAX to be greater than "upload_max_filesize" and "post_max_size" ini settings');
148+
}
149+
146150
$source = tempnam(sys_get_temp_dir(), 'source');
147151

148152
$kernel = new TestHttpKernel();

0 commit comments

Comments
 (0)