Since #2392433: Stream wrappers are registered before page cache went in, every test run that uses run-tests.sh is throwing the following warnings:
Warning: is_dir(): Unable to find the wrapper "public" - did you forget to enable it when you configured PHP? in /.../core/lib/Drupal/Core/Test/TestRunnerKernel.php on line 79
Beta phase evaluation
| Issue category | Bug |
|---|---|
| Issue priority | Major because PHP warnings during testing could be masking other issues |
| Unfrozen changes | Unfrozen because it only changes the test running script to not throw warnings |
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | run-tests-warning-2394327-01.patch | 590 bytes | jhedstrom |
Comments
Comment #1
jhedstromComment #2
alexpottI run all my tests using run-tests.sh and have no seen this - I can't repeat it.
Comment #3
jhedstromIt's happening on the test bots for every test that I have looked at (you need to look at the log at the bottom). I linked 2 of these in the summary.
Comment #4
alexpottAh this happens if you use run tests without a parent site.
The fix works for me. Looks great.
Comment #6
catchCommitted/pushed to 8.0.x, thanks!