0
0

More than 1 year has passed since last update.

laravel Featureテストを実行したら「No application encryption key has been specified.」のエラーが出た

Posted at

概要

  • Featureテストを実行したらエラーが出たので筆者の場合の解決策をメモ的にまとめる。

エラー

No application encryption key has been specified.

エラー原因

  • テスト用の.envのAPP_KEYの値が空だった。
  • 通常動作で使用する.envのAPP_KEYの値をテスト用.envに記載し実行したところエラー解消
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0