Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

How to reproduce #6

Closed
wants to merge 1 commit into from

2 participants

Toni Uebernickel Juan Basso
Toni Uebernickel

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

Juan Basso
Collaborator
Thomas Ploch tPl0ch referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Thomas Ploch 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
2  cake/tests/lib/reporter/cake_cli_reporter.php
View
@@ -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.