This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
Testing Workflow #1049
Unanswered
KimKJDesigns
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm struggling to wrap my head around what procedure I should be using when authenticating a user in tests. Currently, I've been disabling the
verify.shopify
middleware and enabling theauth
middleware for most requests. However, my tests don't feel right because I'm hitting the controller and not stopping it at a route level.So, knowing I need session tokens for each request, what is the best way to authenticate a user with this token? Or am I looking at this wrong?
Beta Was this translation helpful? Give feedback.
All reactions