Skip to content

Commit 9ed70c5

Browse files
committed
Merge branch 'featuresrevamp' of https://github.com/corda/samples-java into featuresrevamp
2 parents 375796d + 1a8d5ab commit 9ed70c5

File tree

4 files changed

+1
-5
lines changed

4 files changed

+1
-5
lines changed

Features/attachment-sendfile/.settings/org.eclipse.jdt.core.prefs

Lines changed: 0 additions & 1 deletion
This file was deleted.

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
@@ -7,7 +7,7 @@
77

88
import java.util.Arrays;
99

10-
import static org.jgroups.util.Util.assertEquals;
10+
import static org.junit.Assert.assertEquals;
1111

1212
public class InvoiceStateTests {
1313

@@ -19,7 +19,6 @@ public class InvoiceStateTests {
1919
@Test
2020
public void constructorTest() {
2121
InvoiceState st = new InvoiceState(STRINGID, Arrays.asList(a, b));
22-
2322
assertEquals(STRINGID, st.getInvoiceAttachmentID());
2423
}
2524

-778 KB
Binary file not shown.

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ public void tearDown() {
3333

3434
//Test #1 check attachments list has more than one element
3535
//one for contract attachment, another one for attached zip
36-
//@TODO Make sure change the file path in the SendAttachment flow to "../test.zip" for passing the unit test.
37-
//because the unit test are in a different working directory than the running node.
3836
@Test
3937
public void attachmentListHasMoreThanOneElement() throws ExecutionException, InterruptedException {
4038
CordaFuture<SignedTransaction> future = a.startFlow(new SendAttachment(b.getInfo().getLegalIdentities().get(0), true));

0 commit comments

Comments
 (0)