This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 3c0cec35a5 Fixed: Use non string parameters on a update-area failed when comme from a JWToken (OFBIZ-12749) 3c0cec35a5 is described below commit 3c0cec35a563cc17ec7a6cbc0e4945dc9914edd1 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Fri Feb 10 10:37:46 2023 +0100 Fixed: Use non string parameters on a update-area failed when comme from a JWToken (OFBIZ-12749) Adds missing ASL2 header --- .../apache/ofbiz/widget/model/ModelFormTest.java | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/framework/widget/src/test/java/org/apache/ofbiz/widget/model/ModelFormTest.java b/framework/widget/src/test/java/org/apache/ofbiz/widget/model/ModelFormTest.java index 87c08cc392..f02490d877 100644 --- a/framework/widget/src/test/java/org/apache/ofbiz/widget/model/ModelFormTest.java +++ b/framework/widget/src/test/java/org/apache/ofbiz/widget/model/ModelFormTest.java @@ -1,12 +1,31 @@ +/* + * 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. + */ package org.apache.ofbiz.widget.model; +import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; -import static org.mockito.Mockito.any; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + import org.apache.ofbiz.base.conversion.ConversionException; import org.apache.ofbiz.base.conversion.JSONConverters; import org.apache.ofbiz.base.util.UtilMisc;