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: Reuses project in tests - project #2078
Conversation
8cb86a0
to
a864c51
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, small comment
commonChecks := map[string]string{ | ||
"name": projectName, | ||
"org_id": orgID, | ||
"cluster_count": "0", | ||
"teams.#": "2", | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we add a check for limits
attribute as well? seeing that it was tested in the data source tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, i'll do in the limit test
var ( | ||
orgID = os.Getenv("MONGODB_ATLAS_ORG_ID") | ||
projectName = acc.RandomProjectName() | ||
limitChecks = []map[string]string{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AgustinBettati ds limit tests
Description
Reuses project in tests - project.
Moves data source tests with resource tests.
Link to any related issue(s): CLOUDP-239550
Type of change:
Required Checklist:
Further comments