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

chore: stop using deprecated method #6764

Conversation

gastonfournier
Copy link
Contributor

storeUserEvent from event-service was deprecated. We stop using it and remove the method completely

@gastonfournier gastonfournier self-assigned this Apr 3, 2024
Copy link

vercel bot commented Apr 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Apr 3, 2024 7:47am
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Apr 3, 2024 7:47am

const userDetails = eventService.getUserDetails(adminToken);
expect(userDetails.createdBy).toBe('admin-token-username');
expect(userDetails.createdByUserId).toBe(ADMIN_TOKEN_USER.id);
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is no longer relevant, which is why it's getting deleted.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, this was only testing getUserDetails that was only added to serve these new methods. There was no other test (which is sad).

Copy link
Member

@sighphyre sighphyre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES!

@gastonfournier gastonfournier merged commit 0a0f5a7 into main Apr 3, 2024
9 checks passed
@gastonfournier gastonfournier deleted the 2-2044-we-need-to-get-rid-of-createuserevent-from-event-service branch April 3, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants