Commit 1b5c1b23 authored by Romain Courteaud's avatar Romain Courteaud

[officejs_security] Reference is not used anymore by default on person

parent 85d7f12f
......@@ -56,7 +56,7 @@
<key> <string>method_id</string> </key>
<value>
<list>
<string>_setReference</string>
<string>_setUserId</string>
</list>
</value>
</item>
......
......@@ -34,8 +34,6 @@ class TestOfficeJSScenario(SecurityTestCase):
reference += "%s" % time.time()
user = self.portal.person_module.newContent(
portal_type="Person",
reference=reference,
user_id=reference,
first_name=first_name,
last_name=last_name,
default_email_coordinate_text=email,
......
......@@ -46,10 +46,10 @@
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W: 91, 28: Unused variable \'api_path\' (unused-variable)</string>
<string>W: 91, 38: Unused variable \'api_query\' (unused-variable)</string>
<string>W: 91, 4: Unused variable \'api_scheme\' (unused-variable)</string>
<string>W: 92, 6: Unused variable \'api_fragment\' (unused-variable)</string>
<string>W: 89, 28: Unused variable \'api_path\' (unused-variable)</string>
<string>W: 89, 38: Unused variable \'api_query\' (unused-variable)</string>
<string>W: 89, 4: Unused variable \'api_scheme\' (unused-variable)</string>
<string>W: 90, 6: Unused variable \'api_fragment\' (unused-variable)</string>
</tuple>
</value>
</item>
......
......@@ -77,7 +77,6 @@ class TestOfficeJSSecurity(SecurityTestCase):
self.assertEqual(len(user_list), 0)
user = self.portal.person_module.newContent(
portal_type="Person",
reference=reference,
first_name=first_name,
last_name=last_name,
default_email_coordinate_text=email,
......
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