Files
ofbiz-framework/applications/order/testdef/FinAccountTests.xml
T
Adam Heath d4ae304e5a Fix OFBIZ-5565: FinAccountHelper.getFinAccountFromCode() no longer
returns financial account.

Now that EntityCondition lookups work against encrypted fields, there is
no longer a need to do the field encryption locally in the above method.
So, just pass the value directly into the entity engine.

There are also test cases, to prevent this breakage from occurring
again.

This commit depends on r1604967 and r1604968, at the minimum.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1604993 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 01:30:56 +00:00

29 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<test-suite suite-name="finaccounttests"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/test-suite.xsd">
<test-case case-name="finaccount-tests">
<junit-test-suite class-name="org.ofbiz.order.test.FinAccountTest"/>
</test-case>
</test-suite>