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

Added tests around getIdForCurrentUser method #14222

Merged

Conversation

marcusmoore
Copy link
Collaborator

Description

This PR simply adds some tests around the Company model's getIdForCurrentUser() method. I was a little confused when I first looked at the method so having some tests around it can provide some clarity about its behavior as well as make sure we don't unintentionally break that behavior in the future.

Type of change

  • other - added tests

@snipe snipe merged commit 3b36372 into snipe:develop Feb 5, 2024
8 checks passed
@marcusmoore marcusmoore deleted the tests/company-get-id-for-current-user branch February 5, 2024 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants