-
Notifications
You must be signed in to change notification settings - Fork 283
Add test case for extension resource in ArmResourceTest #7597
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
base: main
Are you sure you want to change the base?
Conversation
No changes needing a change description found. |
...ttp-client-generator-test/src/test/java/azure/resourcemanager/resources/ArmResourceTest.java
Outdated
Show resolved
Hide resolved
7507624
to
4252949
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.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
private ExtensionsResourceProperties createProperties | ||
= new ExtensionsResourceProperties().withDescription(RESOURCE_DESCRIPTION_VALID); | ||
private ExtensionsResourceProperties updateProperties | ||
= new ExtensionsResourceProperties().withDescription(RESOURCE_DESCRIPTION_VALID2); | ||
private ExtensionsResource extensionResource; | ||
private List<ExtensionsResource> extensionResources; |
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.
They are mutable, so it should be defined in each test.
You can have private static final
of the 2 CREATE_PROPERTIES and UPDATE_PROPERTIES.
Add test case for extension resource in
ArmResourceTest
.