Index: trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportTest.java	(revision 12764)
+++ trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportTest.java	(revision 12770)
@@ -15,4 +15,5 @@
 
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+import org.openstreetmap.josm.actions.ShowStatusReportAction;
 
 /**
@@ -35,5 +36,5 @@
         ReportedException e = interceptInChildMethod(new IOException("test-exception-message"));
         e.put("test-key", "test-value");
-        String text = new BugReport(e).getReportText();
+        String text = new BugReport(e).getReportText(ShowStatusReportAction.getReportHeader());
 
         assertTrue(text.contains("test-exception-message"));
