We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9205e59 commit b20f0daCopy full SHA for b20f0da
kogito-test-utils/src/main/java/org/kie/kogito/test/utils/CustomSVGDiffer.java
@@ -21,6 +21,7 @@
21
import org.xmlunit.builder.DiffBuilder;
22
import org.xmlunit.builder.Input;
23
import org.xmlunit.diff.ComparisonResult;
24
+import org.xmlunit.diff.ComparisonType;
25
import org.xmlunit.diff.Diff;
26
import org.xmlunit.diff.DifferenceEvaluators;
27
@@ -41,6 +42,9 @@ public CustomSVGDiffer(String content) {
41
42
if (comparison.getControlDetails().getTarget().getNodeName().equals("svg")) {
43
return ComparisonResult.SIMILAR;
44
}
45
+ if (comparison.getType() == ComparisonType.NAMESPACE_URI) {
46
+ return ComparisonResult.SIMILAR;
47
+ }
48
return outcome;
49
}));
50
0 commit comments