Skip to content

Instantly share code, notes, and snippets.

@fuxingloh
Created April 22, 2019 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fuxingloh/4a71ae3b6039e3b4843cd03f825ea3d5 to your computer and use it in GitHub Desktop.
Save fuxingloh/4a71ae3b6039e3b4843cd03f825ea3d5 to your computer and use it in GitHub Desktop.
Don't build: Use Intellij
@Test
void patch() {
AirtableRecord record = new AirtableRecord();
record.putField("Name", TEST_NAME);
record = table.post(record);
record = new AirtableRecord();
record.setId(record.getId());
record.putField("Integer", "42");
record = table.patch(record, true);
assertEquals(42, record.getFieldInteger("Integer"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment