We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69f27ed commit a9e4587Copy full SHA for a9e4587
tests/TestCase.php
@@ -16,6 +16,15 @@ public function setUp(): void
16
{
17
parent::setUp();
18
19
+ // Why, you ask? If we don't force this to false it is possible for certain exceptions
20
+ // to show their error message properly in the integration test output, but not actually
21
+ // be setup correctly to display thier message in production.
22
+ //
23
+ // If we expect a message in a test, and it isn't showing up (rather, showing the generic
24
+ // "an error occurred" message), we can probably assume that the exception isn't one that
25
+ // is recognized as being user viewable.
26
+ config()->set('app.debug', false);
27
+
28
$this->setKnownUuidFactory();
29
}
30
0 commit comments