Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a1a631a

Browse filesBrowse files
authored
Update assert error message
1 parent e5d62e6 commit a1a631a
Copy full SHA for a1a631a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Tests/Factory/DiactorosFactoryTest.php

Copy file name to clipboardExpand all lines: Tests/Factory/DiactorosFactoryTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function testUploadErrNoFile()
167167
$file = new UploadedFile('', '', null, 0, UPLOAD_ERR_NO_FILE, true);
168168
$this->assertEquals(0, $file->getSize());
169169
$this->assertEquals(UPLOAD_ERR_NO_FILE, $file->getError());
170-
$this->assertFalse($file->getSize());
170+
$this->assertFalse($file->getSize(), 'SplFile::getSize() returns false on error');
171171
$this->assertInternalType('integer', $file->getClientSize());
172172

173173
$request = new Request(array(), array(), array(), array(),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.