You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by be...@apache.org on 2010/03/13 00:48:49 UTC

svn commit: r922457 - /mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/delivery/inbound/DeliveringStanzaRelayTestCase.java

Author: berndf
Date: Fri Mar 12 23:48:49 2010
New Revision: 922457

URL: http://svn.apache.org/viewvc?rev=922457&view=rev
Log:
VYSPER-179: fix unit test

Modified:
    mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/delivery/inbound/DeliveringStanzaRelayTestCase.java

Modified: mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/delivery/inbound/DeliveringStanzaRelayTestCase.java
URL: http://svn.apache.org/viewvc/mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/delivery/inbound/DeliveringStanzaRelayTestCase.java?rev=922457&r1=922456&r2=922457&view=diff
==============================================================================
--- mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/delivery/inbound/DeliveringStanzaRelayTestCase.java (original)
+++ mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/delivery/inbound/DeliveringStanzaRelayTestCase.java Fri Mar 12 23:48:49 2010
@@ -64,6 +64,9 @@ public class DeliveringStanzaRelayTestCa
     }
 
     public void testSimpleRelay() throws EntityFormatException, XMLSemanticError, DeliveryException {
+        DefaultServerRuntimeContext serverRuntimeContext = new DefaultServerRuntimeContext(null, null);
+        stanzaRelay.setServerRuntimeContext(serverRuntimeContext);
+        
         EntityImpl fromEntity = EntityImpl.parse("userFrom@vysper.org");
         EntityImpl toEntity = EntityImpl.parse("userTo@vysper.org");
         TestSessionContext sessionContext = TestSessionContext.createSessionContext(toEntity);