summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/spoolss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 772abf4bc9..a3419a782e 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -3628,10 +3628,6 @@ static bool test_OpenPrinterEx(struct torture_context *tctx,
ret = false;
}
- if (!test_ChangeID(tctx, p, &handle)) {
- ret = false;
- }
-
if (!torture_setting_bool(tctx, "samba3", false)) {
if (!test_SecondaryClosePrinter(tctx, p, &handle)) {
ret = false;
@@ -4395,6 +4391,10 @@ static bool test_one_printer(struct torture_context *tctx,
ret = false;
}
+ if (!test_ChangeID(tctx, p, handle)) {
+ ret = false;
+ }
+
if (!test_printer_keys(tctx, p, handle)) {
ret = false;
}