-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Hotfix : Zend\Test trace error flag #6041
Hotfix : Zend\Test trace error flag #6041
Conversation
@@ -26,6 +26,8 @@ public function setUp() | |||
include __DIR__ . '/../../_files/application.config.php' | |||
); | |||
parent::setUp(); | |||
|
|||
$this->setTraceError(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest the opposite. This is an annoying breakage, and the feature should be opt-in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breakage? it's just a test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it will make any test based on (for example) testing unauthorized access break for consumer libraries. That's what I mean by "breakage"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ocramius Ok I will change this, thank you Ocra
…t-exception-throwing' Close zendframework/zendframework#6041
…t-exception-throwing' into develop Close zendframework/zendframework#6041 Forward Port zendframework/zendframework#6041
Current behavior is annoying because exception are automatically thrown ... currently, you can't assert application exception and debug your application