Closed (fixed)
Project:
Commerce Fraud
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2020 at 13:04 UTC
Updated:
29 Jun 2020 at 19:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vishalghyv commentedComment #3
vishalghyv commentedIf One would want different status can change in Rule, But I thought there should be a default option to reflect
Comment #4
vishalghyv commentedComment #5
amjad1233Is it possible to add some automated tests?
Comment #6
vishalghyv commentedSure,
Will add UI test once tests in #3142694: Improving Tests for Commerce Fraud are commited,
Change from store admin to store customer allowed the test to pass
Comment #8
vishalghyv commentedRule is not active in this is the reason for it failing
Comment #9
vishalghyv commentedComment #10
derekcresswell commentedLooks good.
Comment #12
joshmillerOk, so the patch works for newly installed modules. This doesn't effect any currently installed site, but it does provide a much less buggy first impression.
While committing, I cleaned up the "setup" function so it would enable the rule we wanted. This feels cleaner than the hook definition function call thing that was in the patch.