You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jf...@apache.org on 2018/11/02 11:35:59 UTC

[incubator-plc4x] 02/02: Test fixes.

This is an automated email from the ASF dual-hosted git repository.

jfeinauer pushed a commit to branch add-simple-mock-driver
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git

commit 594e19d78be554074448e1429a79f829c7626c36
Author: julian <j....@pragmaticminds.de>
AuthorDate: Fri Nov 2 12:35:49 2018 +0100

    Test fixes.
---
 plc4j/core/src/test/java/org/apache/plc4x/java/mock/MockDriver.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plc4j/core/src/test/java/org/apache/plc4x/java/mock/MockDriver.java b/plc4j/core/src/test/java/org/apache/plc4x/java/mock/MockDriver.java
index 6ebd36c..5e8b440 100644
--- a/plc4j/core/src/test/java/org/apache/plc4x/java/mock/MockDriver.java
+++ b/plc4j/core/src/test/java/org/apache/plc4x/java/mock/MockDriver.java
@@ -37,12 +37,12 @@ public class MockDriver implements PlcDriver {
 
     @Override
     public PlcConnection connect(String url) {
-        return new PlcMockConnection(null);
+        return new MockConnection(null);
     }
 
     @Override
     public PlcConnection connect(String url, PlcAuthentication authentication) {
-        return new PlcMockConnection(authentication);
+        return new MockConnection(authentication);
     }
 
 }