Commit 02756dcf authored by Jérome Perrin's avatar Jérome Perrin

testERP5Security: remove duplicate test

test_duplicatePersonUserId was already cover by test_MultipleUsers
parent ecb5e5e6
......@@ -383,10 +383,6 @@ class DuplicatePrevention(UserManagementTestCase):
self.assertRaises(ValidationFailed, self._makePerson, user_id=user_id)
self.assertRaises(ValidationFailed, self._makePerson, login=login)
def test_duplicatePersonUserId(self):
user_id, _, _ = self._makePerson()
self.assertRaises(ValidationFailed, self._makePerson, user_id=user_id)
def test_MultiplePersonReferenceWithoutCommit(self):
"""
Tests that it's refused to create two Persons with same user id.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment