Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7458091
SizeTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
563 B
Referenced Files
None
Subscribers
None
SizeTest.php
View Options
<?php
use
Eris\Generators
;
use
Eris\TestTrait
;
class
SizeTest
extends
\PHPUnit\Framework\TestCase
{
use
TestTrait
;
/**
* With the default sizes this test would pass,
* as numbers greater or equal than 100,000 would never be reached.
*/
public
function
testMaxSizeCanBeIncreased
()
{
$this
->
forAll
(
Generators
::
int
()
)
->
withMaxSize
(
1000
*
1000
)
->
then
(
function
(
$number
)
{
$this
->
assertLessThan
(
100
*
1000
,
$number
);
});
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 01:15 (3 d, 5 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4c/82/8a4ea163bc2c6e00531c05ae1103
Default Alt Text
SizeTest.php (563 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment