"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Form/Tests/AbstractRequestHandlerTest.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

AbstractRequestHandlerTest.php  (phplist-3.4.5.tgz):AbstractRequestHandlerTest.php  (phplist-3.4.6.tgz)
skipping to change at line 349 skipping to change at line 349
{ {
return [ return [
[pow(1024, 3) + 1, '1G', true, ['{{ max }}' => '1G']], [pow(1024, 3) + 1, '1G', true, ['{{ max }}' => '1G']],
[pow(1024, 3), '1G', false], [pow(1024, 3), '1G', false],
[pow(1024, 2) + 1, '1M', true, ['{{ max }}' => '1M']], [pow(1024, 2) + 1, '1M', true, ['{{ max }}' => '1M']],
[pow(1024, 2), '1M', false], [pow(1024, 2), '1M', false],
[1024 + 1, '1K', true, ['{{ max }}' => '1K']], [1024 + 1, '1K', true, ['{{ max }}' => '1K']],
[1024, '1K', false], [1024, '1K', false],
[null, '1K', false], [null, '1K', false],
[1024, '', false], [1024, '', false],
[1024, 0, false], [1024, '0', false],
]; ];
} }
public function testUploadedFilesAreAccepted() public function testUploadedFilesAreAccepted()
{ {
$this->assertTrue($this->requestHandler->isFileUpload($this->getUploaded File())); $this->assertTrue($this->requestHandler->isFileUpload($this->getUploaded File()));
} }
public function testInvalidFilesAreRejected() public function testInvalidFilesAreRejected()
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)