Skip to content

Commit 375796d

Browse files
committed
sendfile fixes
1 parent 7d77e36 commit 375796d

File tree

4 files changed

+3
-40
lines changed

4 files changed

+3
-40
lines changed

Features/attachment-sendfile/contracts/src/test/java/net.corda.samples.sendfile/states/InvoiceStateTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
package net.corda.samples.sendfile.contracts;
1+
package net.corda.samples.sendfile.states;
22

33
import net.corda.core.identity.CordaX500Name;
44
import net.corda.core.identity.Party;
5-
import net.corda.samples.sendfile.states.InvoiceState;
65
import net.corda.testing.core.TestIdentity;
76
import org.junit.Test;
87

Features/attachment-sendfile/workflows/src/main/java/net/corda/samples/sendfile/flows/SendAttachment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public SignedTransaction call() throws FlowException {
7070

7171
//Change the path to "../test.zip" for passing the unit test.
7272
//because the unit test are in a different working directory than the running node.
73-
String zipPath = unitTest ? "../test.zip" : "../../../../test.zip";
73+
String zipPath = unitTest ? "../test.zip" : "../../../test.zip";
7474

7575
SecureHash attachmentHash = null;
7676
try {

Features/attachment-sendfile/workflows/src/test/java/net/corda/samples/sendfile/NodeDriver.java

Lines changed: 0 additions & 34 deletions
This file was deleted.

Features/attachment-sendfile/workflows/src/test/java/net/corda/samples/sendfile/FlowTests.java renamed to Features/attachment-sendfile/workflows/src/test/java/net/corda/samples/sendfile/flows/FlowTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
package net.corda.samples.sendfile;
1+
package net.corda.samples.sendfile.flows;
22

33
import com.google.common.collect.ImmutableList;
44
import net.corda.core.concurrent.CordaFuture;
55
import net.corda.core.transactions.SignedTransaction;
6-
import net.corda.samples.sendfile.flows.DownloadAttachment;
7-
import net.corda.samples.sendfile.flows.SendAttachment;
86
import net.corda.testing.node.MockNetwork;
97
import net.corda.testing.node.MockNetworkParameters;
108
import net.corda.testing.node.StartedMockNode;

0 commit comments

Comments
 (0)