diff options
-rwxr-xr-x | testprogs/ejs/ldap.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testprogs/ejs/ldap.js b/testprogs/ejs/ldap.js index bf9b4ac105..28a08879cf 100755 --- a/testprogs/ejs/ldap.js +++ b/testprogs/ejs/ldap.js @@ -30,7 +30,7 @@ function basic_tests(ldb, base_dn) ldb.del("cn=ldaptestuser,cn=users," + base_dn); - ok = ldb.add(" + var ok = ldb.add(" dn: cn=ldaptestuser,cn=users," + base_dn + " objectClass: user objectClass: person @@ -47,6 +47,8 @@ cn: LDAPtestUSER assert(res[0].objectGUID != undefined); assert(res[0].whenCreated != undefined); + ok = ldb.del(res[0].dn); + assert(ok); } function find_basedn(ldb) |