fix[BACKLOG-50150]: fix testDoIsParameterizableError unit test#6248
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes a failing unit test in FileResourceTest by correcting the expected number of invocations of NoSuchBeanDefinitionException#getMessage() in testDoIsParameterizableError() to match the current FileResource#doIsParameterizable implementation.
Changes:
- Update Mockito verification to expect
getMessage()to be called once (instead of three times) in the error-path test.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Note:Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system. |
✅ Build finished in 40m 19sBuild command: mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl extensions👌 All tests passed! Tests run: 1819, Failures: 0, Skipped: 1 Test Results ℹ️ This is an automatic message |

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (35.50% Estimated after merge)
@pentaho/tatooine_dev