Skip to content

Commit 2956b42

Browse files
committed
[HttpKernel] Fix SplFileInfo mock in HttpKernelBrowserTest
1 parent 38b0b24 commit 2956b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/HttpKernelBrowserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public function testUploadedFileWhenSizeExceedsUploadMaxFileSize()
157157
/* should be modified when the getClientSize will be removed */
158158
$file->expects($this->any())
159159
->method('getSize')
160-
->willReturn(\INF)
160+
->willReturn(\PHP_INT_MAX)
161161
;
162162
$file->expects($this->any())
163163
->method('getClientSize')

0 commit comments

Comments
 (0)