1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

python/tests: use changetype: modify in order to delete a single attribute

'changetype: delete' is used to delete a whole object!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2023-02-23 17:07:20 +01:00 committed by Andrew Bartlett
parent c35ae5a77d
commit 65294d56bd

View File

@ -587,7 +587,7 @@ class AuditLogDsdbTests(AuditLogTestBase):
self.discardMessages()
self.ldb.modify_ldif(
"dn: " + dn + "\n" +
"changetype: delete\n" +
"changetype: modify\n" +
"delete: carLicense\n" +
"carLicense: license-03\n" +
"carLicense: license-04\n")
@ -613,7 +613,7 @@ class AuditLogDsdbTests(AuditLogTestBase):
self.discardMessages()
self.ldb.modify_ldif(
"dn: " + dn + "\n" +
"changetype: delete\n" +
"changetype: modify\n" +
"replace: carLicense\n" +
"carLicense: license-05\n" +
"carLicense: license-06\n")