WireTests::fail()

Indicate test fail

Usage

// basic usage
$wireTests->fail();

// usage with all arguments
$wireTests->fail(string $note = '', $exception = null);

Arguments

NameType(s)Description
$note (optional)string

Optional note

$exception (optional)\Throwable null

Optional exception


WireTests methods and properties

API reference based on ProcessWire core version 3.0.269