server/test/unittest_hookhelper.py
changeset 2455 5346d9f3d5ec
parent 1977 606923dff11b
child 2637 07103211e511
--- a/server/test/unittest_hookhelper.py	Thu Jul 23 15:15:29 2009 +0200
+++ b/server/test/unittest_hookhelper.py	Thu Jul 23 15:17:11 2009 +0200
@@ -41,7 +41,7 @@
         from cubicweb.server import hooks, schemahooks
         session = self.session
         op1 = hooks.DelayedDeleteOp(session)
-        op2 = schemahooks.DelErdefOp(session)
+        op2 = schemahooks.DeleteRelationDefOp(session)
         # equivalent operation generated by op2 but replace it here by op3 so we
         # can check the result...
         op3 = schemahooks.UpdateSchemaOp(session)