--- a/server/test/unittest_hookhelper.py Sat Aug 01 17:20:26 2009 +0200
+++ b/server/test/unittest_hookhelper.py Sat Aug 01 17:21:19 2009 +0200
@@ -41,10 +41,10 @@
from cubicweb.server import hooks, schemahooks
session = self.session
op1 = hooks.DelayedDeleteOp(session)
- op2 = schemahooks.DeleteRelationDefOp(session)
+ op2 = schemahooks.MemSchemaRDefDel(session)
# equivalent operation generated by op2 but replace it here by op3 so we
# can check the result...
- op3 = schemahooks.UpdateSchemaOp(session)
+ op3 = schemahooks.MemSchemaNotifyChanges(session)
op4 = hooks.DelayedDeleteOp(session)
op5 = hooks.CheckORelationOp(session)
self.assertEquals(session.pending_operations, [op1, op2, op4, op5, op3])