[
https://issues.apache.org/jira/browse/OFBIZ-11618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094382#comment-17094382 ]
Pawan Verma commented on OFBIZ-11618:
-------------------------------------
[^OFBIZ-11618.patch]
Attaching a patch for this conversion. This can be tested using the below commands:
./gradlew "ofbiz --test component=accounting --test suitename=accountingtests"
./gradlew "ofbiz --test component=order --test suitename=ordertests"
./gradlew "ofbiz --test component=product --test suitename=producttests"
PS: producttests are already broken, I confirm not an issue with these changes. Thanks!
> Use userLogin available in context instead of fetching from DB in Groovy test cases
> -----------------------------------------------------------------------------------
>
> Key: OFBIZ-11618
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11618> Project: OFBiz
> Issue Type: Improvement
> Components: ALL COMPONENTS
> Affects Versions: Trunk
> Reporter: Pawan Verma
> Assignee: Pawan Verma
> Priority: Minor
> Attachments: OFBIZ-11618.patch
>
>
> Use userLogin available in context instead of fetching from DB in Groovy test cases. I have found 30+ entries that can be replaced.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)