Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

How to reproduce #6

Closed
wants to merge 1 commit into from

2 participants

@havvg

Run a test throwing an Exception that's unexpected by the test suite on the CLI.

@jrbasso
Collaborator
@tPl0ch tPl0ch referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@tPl0ch tPl0ch referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  cake/tests/lib/reporter/cake_cli_reporter.php
View
2  cake/tests/lib/reporter/cake_cli_reporter.php
@@ -98,7 +98,7 @@ function paintError($message) {
*/
function paintException($exception) {
parent::paintException($exception);
- $message .= sprintf('Unexpected exception of type [%s] with message [%s] in [%s] line [%s]',
+ $message = sprintf('Unexpected exception of type [%s] with message [%s] in [%s] line [%s]',
get_class($exception),
$exception->getMessage(),
$exception->getFile(),
Something went wrong with that request. Please try again.