server/test/unittest_security.py
changeset 2500 e342a8662c8d
parent 1977 606923dff11b
child 2501 fa86d99c2c3a
--- a/server/test/unittest_security.py	Fri Jul 24 18:45:16 2009 +0200
+++ b/server/test/unittest_security.py	Fri Jul 24 19:39:53 2009 +0200
@@ -499,7 +499,7 @@
         self.assertRaises(Unauthorized,
                           self.schema['Affaire'].check_perm, session, 'update', eid)
         cu = cnx.cursor()
-        cu.execute('SET X in_state S WHERE X ref "ARCT01", S name "abort"')
+        cu.execute('SET X in_state S WHERE X ref "ARCT01", S name "ben non"')
         cnx.commit()
         # though changing a user state (even logged user) is reserved to managers
         rql = u"SET X in_state S WHERE X eid %(x)s, S name 'deactivated'"