Commit f76c3ca7 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not use 'order' matching tester that is a cheat and makes matching too easy.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31446 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent efe5294e
......@@ -70,7 +70,7 @@ class TestERP5Simulation(TestERP5SimulationMixin, ERP5TypeTestCase):
version=2,
)
# create category divergence testers that is only used for matching
for i in ('order',):
for i in ('resource',):
new_order_rule.newContent(
title='%s divergence tester' % i,
portal_type='Category Membership Divergence Tester',
......@@ -270,14 +270,6 @@ class TestERP5SimulationPackingList(TestERP5SimulationMixin, TestPackingList):
portal_type='Category Membership Divergence Tester',
tested_property=i,
matching_provider=1)
# create category divergence testers that is only used for matching
for i in ('order',):
new_order_rule.newContent(
title='%s divergence tester' % i,
portal_type='Category Membership Divergence Tester',
tested_property=i,
divergence_provider=0,
matching_provider=1)
# create variation divergence testers that is also used for matching
for i in ('variation_property_dict',):
# tested_property has no meaning for this tester.
......
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