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

Move Mirage me response through a factory #86

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

jeffdaley
Copy link
Contributor

Changes Mirage's google/userinfo/v2/me GET response from a hard coded object to one that's output by a factory.

This will allow us to set or modify me properties in our tests, e.g., this.server.create('me', { isLoggedIn: false }) or this.server.create('me', { subscriptions: ['Design']})

@jeffdaley jeffdaley requested a review from a team as a code owner March 10, 2023 18:44
@jeffdaley jeffdaley merged commit 3ecb5e6 into main Mar 20, 2023
@jeffdaley jeffdaley deleted the jeffdaley/update-mirage-me-response branch March 20, 2023 13:40
anuragprafulla pushed a commit to razorpay/hermes that referenced this pull request Jun 27, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants