Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(3-2)【自動テスト】認証エラー #38

Open
takasaki376 opened this issue Apr 29, 2022 · 0 comments
Open

(3-2)【自動テスト】認証エラー #38

takasaki376 opened this issue Apr 29, 2022 · 0 comments

Comments

@takasaki376
Copy link
Collaborator

ゴール

無効なトークンを渡し、firebase側での検証でエラーとなるため、レスポンスもエラーを返す事を確認する

やること

  • テスト用のファイルを作成する。
  • テキトーなトークンを生成し、getメソッドでリクエストする。
  • エラーが返って来たら正常と判断する。

参考

CRUD処理の自動テストと、その後に認証部分の自動テストを追加している記事は見つけました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant