diff --git a/src/Event/Assertion/Made.php b/src/Event/Assertion/Made.php index 6052dbc5c13..060156aa719 100644 --- a/src/Event/Assertion/Made.php +++ b/src/Event/Assertion/Made.php @@ -75,6 +75,13 @@ public function hasFailed(): bool public function asString(): string { - return ''; + return sprintf( + '%s Assertion Made (Constraint: %s - Value: %s - Failed: %s - Message: %s)', + $this->telemetryInfo()->asString(), + $this->constraint()->toString(), + (string) $this->value(), + $this->hasFailed() ? 'true' : 'false', + $this->message() + ); } }