]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed a class path in a string that was left after fixing #7385
authorJonatan Kronqvist <jonatan.kronqvist@itmill.com>
Tue, 4 Oct 2011 08:16:14 +0000 (08:16 +0000)
committerJonatan Kronqvist <jonatan.kronqvist@itmill.com>
Tue, 4 Oct 2011 08:16:14 +0000 (08:16 +0000)
svn changeset:21552/svn branch:6.7

tests/server-side/com/vaadin/data/util/sqlcontainer/connection/J2EEConnectionPoolTest.java

index 7855d2a166f864cb381bae42334d5e8144e8458a..65a995120e6b1d56c751396ac80c4f0a314c8aa8 100644 (file)
@@ -12,8 +12,6 @@ import junit.framework.Assert;
 import org.easymock.EasyMock;
 import org.junit.Test;
 
-import com.vaadin.data.util.sqlcontainer.connection.J2EEConnectionPool;
-
 public class J2EEConnectionPoolTest {
 
     @Test
@@ -65,9 +63,8 @@ public class J2EEConnectionPoolTest {
         ds.getConnection();
         EasyMock.expectLastCall().andReturn(connection);
 
-        System.setProperty(
-                "java.naming.factory.initial",
-                "com.vaadin.tests.server.container.sqlcontainer.connection.MockInitialContextFactory");
+        System.setProperty("java.naming.factory.initial",
+                "com.vaadin.data.util.sqlcontainer.connection.MockInitialContextFactory");
         Context context = EasyMock.createMock(Context.class);
         context.lookup("testDataSource");
         EasyMock.expectLastCall().andReturn(ds);