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 aeccfec commit cdeecaeCopy full SHA for cdeecae
1 file changed
tests/TestCase.php
@@ -23,6 +23,17 @@
23
*/
24
abstract class TestCase extends BaseTestCase
25
{
26
+ public function setUp(): void
27
+ {
28
+ global $lang;
29
+ // This line makes sure the test suite uses English so we can assert
30
+ // on the error messages, if it is not here you will need to use
31
+ // LC_ALL=C ./vendor/bin/phpunit
32
+ // Users can have French language as default on their OS
33
+ // That would make the assertions fail
34
+ $lang = 'en';
35
+ }
36
+
37
/**
38
* Gets the token list generated by lexing this query.
39
*
0 commit comments