[midPoint-git] [Evolveum/midpoint] cbd43c: fixes of rest/story tests, mostly audit count asse...

virgo47 noreply at github.com
Tue Feb 14 10:41:07 CET 2023


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: cbd43c57a351dd1f2c4f9dcffda8ddd48412ac29
      https://github.com/Evolveum/midpoint/commit/cbd43c57a351dd1f2c4f9dcffda8ddd48412ac29
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2023-02-14 (Tue, 14 Feb 2023)

  Changed paths:
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyStateRecording.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/AbstractRestController.java
    M testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestAbstractRestService.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUnix.java

  Log Message:
  -----------
  fixes of rest/story tests, mostly audit count assertions

- boolean accessesMetadataEnabled and accessesMetadataAuditOverhead()
support method were pulled up to AbstractModelIntegrationTest,
- rest status discrepancies fixed, after changes in OID to UUID handling
in Native repo I forgot to change tested exception message in REST
error handling.


  Commit: 62badb75dcdf4510bef63733f8a1b23e4aa1de6b
      https://github.com/Evolveum/midpoint/commit/62badb75dcdf4510bef63733f8a1b23e4aa1de6b
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2023-02-14 (Tue, 14 Feb 2023)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SystemConfigurationTypeUtil.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAccessesValueMetadata.java

  Log Message:
  -----------
  isAccessesMetadataEnabled() fixed default when roleManagement != null

In that case accessesMetadataEnabled == null was considered false, not
"defaultValue" (which is true). Tests fixed accordingly.


Compare: https://github.com/Evolveum/midpoint/compare/31911a129ac7...62badb75dcdf


More information about the midPoint-svn mailing list