Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6122965
AlwaysFailsTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
458 B
Referenced Files
None
Subscribers
None
AlwaysFailsTest.php
View Options
<?php
use
Eris\Generators
;
use
Eris\TestTrait
;
class
AlwaysFailsTest
extends
\PHPUnit\Framework\TestCase
{
use
TestTrait
;
public
function
testFailsNoMatterWhatIsTheInput
()
{
$this
->
forAll
(
Generators
::
elements
([
'a'
,
'b'
,
'c'
,
'd'
,
'e'
,
'f'
,
'g'
,
'h'
,
'i'
,
'j'
])
)
->
then
(
function
(
$someChar
)
{
$this
->
fail
(
"This test fails by design. '$someChar' was passed in"
);
});
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 7 2026, 07:01 (6 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e9/ee/d47013931756883defc4eb4c1439
Default Alt Text
AlwaysFailsTest.php (458 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment