8000 minor #42718 [HttpKernel] skip test on appveyor (nicolas-grekas) · symfony/symfony@c6f0c4d · GitHub
[go: up one dir, main page]

Skip to content

Commit c6f0c4d

Browse files
committed
minor #42718 [HttpKernel] skip test on appveyor (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- [HttpKernel] skip test on appveyor | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- d123829 [HttpKernel] skip test on appveyor
2 parents 9606430 + d123829 commit c6f0c4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/HttpKernel/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)
0