diff --git a/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/OnDiskMergeImporterTest.java b/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/OnDiskMergeImporterTest.java index 214c9a00fd..b9b2405190 100644 --- a/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/OnDiskMergeImporterTest.java +++ b/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/OnDiskMergeImporterTest.java @@ -12,6 +12,7 @@ * information: "Portions Copyright [year] [name of copyright owner]". * * Copyright 2015-2016 ForgeRock AS. + * Portions Copyright 2024 3A Systems, LLC */ package org.opends.server.backends.pluggable; @@ -262,7 +263,7 @@ public void testDnValidationThrowsOnMissingBaseDn() throws DirectoryException // Given final SequentialCursor source = cursorOf( - of(dnKey("ou=people"), entryId(1)), + of(dnKey("ou=not-people"), entryId(1)), of(dnKey("uid=user.0,ou=people"), entryId(2))); // When @@ -271,7 +272,7 @@ public void testDnValidationThrowsOnMissingBaseDn() throws DirectoryException // Then assertDirectoryExceptionThrown(exception, NO_SUCH_OBJECT); assertThat(exception.getMessage()).contains("ou=people") - .doesNotContain("user.0"); + .contains("user.0"); } private ByteString dnKey(String dn)