You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2017/07/25 08:15:35 UTC

[6/8] tomee git commit: Fix testGetBindingPropagatesReadOnlyFlag() test

Fix testGetBindingPropagatesReadOnlyFlag() test

The same case as with testGetFromFederatedContextPropagatesReadOnlyFlag()


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/69631e68
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/69631e68
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/69631e68

Branch: refs/heads/master
Commit: 69631e68aa77e8400f63047daf333b20b5f48425
Parents: 7af9eb4
Author: Svetlin Zarev <sv...@sap.com>
Authored: Thu Jul 20 12:12:42 2017 +0300
Committer: Svetlin Zarev <sv...@sap.com>
Committed: Thu Jul 20 12:12:42 2017 +0300

----------------------------------------------------------------------
 .../java/org/apache/openejb/core/ivm/naming/IvmContextTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/69631e68/container/openejb-core/src/test/java/org/apache/openejb/core/ivm/naming/IvmContextTest.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/test/java/org/apache/openejb/core/ivm/naming/IvmContextTest.java b/container/openejb-core/src/test/java/org/apache/openejb/core/ivm/naming/IvmContextTest.java
index e52c5e6..8f6150b 100644
--- a/container/openejb-core/src/test/java/org/apache/openejb/core/ivm/naming/IvmContextTest.java
+++ b/container/openejb-core/src/test/java/org/apache/openejb/core/ivm/naming/IvmContextTest.java
@@ -304,7 +304,7 @@ public class IvmContextTest extends TestCase {
       */
      public void testGetBindingPropagatesReadOnlyFlag() throws NamingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
         final IvmContext context = new IvmContext("comp");
-        context.bind("comp/env/test", "test");
+        context.bind("env/test", "test");
 
         context.setReadOnly(true);
         Object result = context.lookup("env");