java/code/src/com/redhat/rhn/domain/action/test/ActionFormatterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bfbbf3dbd90bd51a3c86dec6e91dc43b6bfaed5a Author: Tomas Kasparek tkasparek@redhat.com Date: Thu Nov 29 13:46:56 2012 +0100
ActionFormatterTest should no more fail at testErrataFormatter
added one <br/> tag so suffix of tested errata and string which is test against should match
diff --git a/java/code/src/com/redhat/rhn/domain/action/test/ActionFormatterTest.java b/java/code/src/com/redhat/rhn/domain/action/test/ActionFormatterTest.java index 1c29c53..79efc32 100644 --- a/java/code/src/com/redhat/rhn/domain/action/test/ActionFormatterTest.java +++ b/java/code/src/com/redhat/rhn/domain/action/test/ActionFormatterTest.java @@ -94,7 +94,7 @@ public class ActionFormatterTest extends RhnBaseTestCase { String start = "<strong><a href="/rhn/errata/details/Details.do?eid="; String end = "</a></strong><br/><br/><strong>Test synopsis</strong><br/>" + "<br/>" + ErrataFactory.ERRATA_TYPE_BUG + - "<br/><br/>test topic<br/>Test desc ..<br/>"; + "<br/><br/>test topic<br/>Test desc ..<br/><br/>"; assertTrue(af.getNotes().startsWith(start)); assertTrue(af.getNotes().endsWith(end)); }
spacewalk-commits@lists.fedorahosted.org