Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.xero.api.client;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*;
Expand Down Expand Up @@ -121,6 +122,7 @@ public void testGetAccountAttachments() throws Exception {

}

@Ignore("Enable when OpenAPI schema is changed to binary wherever octet/stream is used")
@Test
public void testCreateAccountAttachmentByFileName() throws Exception {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public void testCreateBankTransaction() throws Exception {
}
*/

@Ignore("Enable when OpenAPI schema is changed to binary wherever octet/stream is used")
@Test
public void createBankTransactionAttachmentByFileNameTest() throws IOException {
System.out.println("@Test - createBankTransactionAttachmentByFileNameTest");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public void createBankTransferTest() throws IOException {
//System.out.println(response.getBankTransfers().get(0).toString());
}

@Ignore("Enable when OpenAPI schema is changed to binary wherever octet/stream is used")
@Test
public void createBankTransferAttachmentByFileNameTest() throws IOException {
System.out.println("@Test - createBankTransferAttachmentByFileNameTest");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ public void updateContactTest() throws IOException {
//System.out.println(response.getContacts().get(0).toString());
}

@Ignore("Enable when OpenAPI schema is changed to binary wherever octet/stream is used")
@Test
public void createContactAttachmentByFileNameTest() throws IOException {
System.out.println("@Test - createContactAttachmentByFileNameTest");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public void createManualJournalsTest() throws IOException {
}


@Ignore("Enable when OpenAPI schema is changed to binary wherever octet/stream is used")
@Test
public void createManualJournalAttachmentByFileNameTest() throws IOException {
System.out.println("@Test - createManualJournalAttachmentByFileName");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public void createReceiptTest() throws IOException {
//System.out.println(response.getReceipts().get(0).toString());
}

@Ignore("Enable when OpenAPI schema is changed to binary wherever octet/stream is used")
@Test
public void createReceiptAttachmentByFileNameTest() throws IOException {
System.out.println("@Test - createReceiptAttachmentByFileName");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public void tearDown() {
defaultClient = null;
}

@Ignore("Enable when OpenAPI schema is changed to binary wherever octet/stream is used")
@Test
public void createRepeatingInvoiceAttachmentByFileNameTest() throws IOException {
System.out.println("@Test - createRepeatingInvoiceAttachmentByFileName");
Expand Down