Peridot\Core\Test::failIfPassing PHP Method

failIfPassing() protected method

Fail the test, but do not overwrite existing failures
protected failIfPassing ( array &$action, mixed $error )
$action array
$error mixed
    protected function failIfPassing(array &$action, $error)
    {
        if ('passTest' === $action[0]) {
            $action = ['failTest', $this, $error];
        }
    }