Skip to content

Commit

Permalink
Merge pull request #12 from rwth-acis/development
Browse files Browse the repository at this point in the history
fix for 0.7
  • Loading branch information
derjasper authored Jul 17, 2017
2 parents 63c0371 + 1b7ae3e commit aeb95cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<classpathentry kind="src" path="src/test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/junit-4.12.jar"/>
<classpathentry kind="lib" path="lib/las2peer-bundle-0.7-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="lib/las2peer-bundle-0.7.0.jar"/>
<classpathentry kind="output" path="output"/>
</classpath>
2 changes: 1 addition & 1 deletion etc/ant_configuration/service.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ service.version=1.0
service.name=i5.las2peer.services.servicePackage
service.path=i5/las2peer/services/servicePackage
service.class=TemplateService
core.version=0.7-SNAPSHOT
core.version=0.7.0
5 changes: 2 additions & 3 deletions src/test/i5/las2peer/services/servicePackage/ServiceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import i5.las2peer.connectors.webConnector.client.ClientResponse;
import i5.las2peer.connectors.webConnector.client.MiniClient;
import i5.las2peer.p2p.LocalNode;
import i5.las2peer.p2p.LocalNodeManager;
import i5.las2peer.security.ServiceAgentImpl;
import i5.las2peer.security.UserAgentImpl;
import i5.las2peer.testing.MockAgentFactory;
Expand Down Expand Up @@ -49,7 +50,7 @@ public class ServiceTest {
public static void startServer() throws Exception {

// start node
node = LocalNode.newNode();
node = new LocalNodeManager().newNode();
testAgent = MockAgentFactory.getAdam();
testAgent.unlock(testPass); // agent must be unlocked in order to be stored
node.storeAgent(testAgent);
Expand Down Expand Up @@ -87,8 +88,6 @@ public static void shutDownServer() throws Exception {
connector = null;
node = null;

LocalNode.reset();

System.out.println("Connector-Log:");
System.out.println("--------------");

Expand Down

0 comments on commit aeb95cf

Please sign in to comment.