PHPStormでUnitテストを実効する。
すると The bootstrap/cache directory must be present and writable. エラーになってしまう。
実行権限あるけどエラーになってしまう。
chmod 0777 -R ./bootstrap/cache
を実効するがエラーは直らない。
ググってこのページを見つけた。
https://github.com/laravel/framework/issues/29862
Custom working directory を プロジェクトルートに設定する。
テストが動くようになった。