shreyaaryaofficial opened a new pull request, #757:
URL: https://github.com/apache/atlas/pull/757

   ## What changes were proposed in this pull request?
   
   Added unit tests for `AtlasNoneAuthorizer` in the `authorization` module to 
improve unit-test coverage and verify its default authorization behavior.
   
   The new `AtlasNoneAuthorizerTest` covers:
   
   * `init()` and `cleanUp()` lifecycle methods.
   * Access authorization for `AtlasAdminAccessRequest`.
   * Access authorization for `AtlasEntityAccessRequest`.
   * Access authorization for `AtlasTypeAccessRequest`.
   * Access authorization for `AtlasRelationshipAccessRequest`.
   * `scrubSearchResults()` behavior.
   
   The tests verify that `AtlasNoneAuthorizer` allows the supported 
authorization requests and that its no-op methods execute successfully without 
throwing exceptions.
   
   No production code changes are included in this pull request.
   
   ## How was this patch tested?
   
   The new unit tests were executed using Maven:
   
   `mvn -pl authorization -Dtest=AtlasNoneAuthorizerTest 
-Dsurefire.failIfNoSpecifiedTests=false test`
   
   All tests passed successfully with 0 failures and 0 errors.
   
   The changes were also checked using `git diff --check`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to