Commit 1f758827 authored by jcechace's avatar jcechace
Browse files

Fixed empty params is tests

parent d3115f73
......@@ -75,8 +75,12 @@ public class ApplicationTest {
for (Map.Entry<String, String> e : params.entrySet()) {
arrayParams[i] = e.getKey();
i++;
arrayParams[i] = e.getValue();
i++;
String v = e.getValue();
if (v != null && !v.isEmpty()) {
arrayParams[i] = e.getValue();
i++;
}
}
return arrayParams;
}
......
Supports Markdown
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