#orchestra/testbench how do we load lang files?
5 messages · Page 1 of 1 (latest)
Probably because it should be placed in workbench/lang/en/enums.php
Whoops typo.
Yeah the full path is workbench/lang/en/enums.php
If I dd(app('translator')) then paths is set as
#paths: array:2 [
0 => "/.../vendor/laravel/framework/src/Illuminate/Translation/lang"
1 => "/.../vendor/orchestra/testbench-core/laravel/lang"
]
So it looks like it's not even trying to load from the workbench
Your tests do have the WithWorkbench trait?