Skip to content

Commit 7c5d598

Browse files
committed
couple small changes to unit tests
1 parent f67a2c7 commit 7c5d598

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lightblue-ldap-integration-test/src/test/java/com/redhat/lightblue/crud/ldap/ITCaseLdapCRUDControllerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ public class ITCaseLdapCRUDControllerTest extends AbstractLdapCRUDController{
5555

5656
@BeforeClass
5757
public static void beforeClass() throws Exception {
58-
ldapServer.add("ou=Users,dc=example,dc=com", new Attribute[]{
58+
ldapServer.add(BASEDB_USERS, new Attribute[]{
5959
new Attribute("objectClass", "top"),
6060
new Attribute("objectClass", "organizationalUnit"),
6161
new Attribute("ou", "Users")});
62-
ldapServer.add("ou=Departments,dc=example,dc=com", new Attribute[]{
62+
ldapServer.add(BASEDB_DEPARTMENTS, new Attribute[]{
6363
new Attribute("objectClass", "top"),
6464
new Attribute("objectClass", "organizationalUnit"),
6565
new Attribute("ou", "Departments")});

lightblue-ldap-integration-test/src/test/java/com/redhat/lightblue/crud/ldap/ITCaseLdapCRUDController_WithProperties_Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class ITCaseLdapCRUDController_WithProperties_Test extends AbstractLdapCR
4747

4848
@BeforeClass
4949
public static void beforeClass() throws Exception {
50-
ldapServer.add("ou=Customers,dc=example,dc=com", new Attribute[]{
50+
ldapServer.add(BASEDB_CUSTOMERS, new Attribute[]{
5151
new Attribute("objectClass", "top"),
5252
new Attribute("objectClass", "organizationalUnit"),
5353
new Attribute("ou", "Customers")});

0 commit comments

Comments
 (0)