aboutsummaryrefslogtreecommitdiffstats
path: root/test/java/org/apache/fop/intermediate/AbstractIFTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/java/org/apache/fop/intermediate/AbstractIFTest.java')
-rw-r--r--test/java/org/apache/fop/intermediate/AbstractIFTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/java/org/apache/fop/intermediate/AbstractIFTest.java b/test/java/org/apache/fop/intermediate/AbstractIFTest.java
index 2e7f37400..419db2c47 100644
--- a/test/java/org/apache/fop/intermediate/AbstractIFTest.java
+++ b/test/java/org/apache/fop/intermediate/AbstractIFTest.java
@@ -112,8 +112,7 @@ abstract class AbstractIFTest extends AbstractIntermediateTest {
userAgent, getTargetMIME());
//Setup painter
- IFSerializer serializer = new IFSerializer();
- serializer.setContext(new IFContext(userAgent));
+ IFSerializer serializer = new IFSerializer(new IFContext(userAgent));
serializer.mimicDocumentHandler(targetHandler);
serializer.setResult(domResult);