From 8cf1838615271b40d11abf0c7660d0336d587664 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 25 Aug 2021 16:24:25 +0100 Subject: [PATCH] JAL-3829 tidying up PDBFTSRestClient test responses - still one failing external test which expects to raise a server exception --- resources/fts/pdb_data_columns.txt | 1 - test/jalview/fts/service/pdb/PDBFTSRestClientTest.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/fts/pdb_data_columns.txt b/resources/fts/pdb_data_columns.txt index 278b86e..38f0853 100644 --- a/resources/fts/pdb_data_columns.txt +++ b/resources/fts/pdb_data_columns.txt @@ -75,7 +75,6 @@ Space Group;spacegroup;String;g6;50;400;95;false;false Cath Code;cath_code;String;g2;50;400;95;false;false Tax Id;tax_id;String;g2;50;400;95;false;false Tax Query;tax_query;String;g2;50;400;95;false;false -Interacting Entity Id;interacting_entity_id;String;g2;50;400;95;false;false Interacting Molecules;interacting_molecules;String;g6;50;400;95;false;false Pubmed Id;pubmed_id;int;g2;50;400;95;false;false Status;status;String;g6;50;400;95;false;false diff --git a/test/jalview/fts/service/pdb/PDBFTSRestClientTest.java b/test/jalview/fts/service/pdb/PDBFTSRestClientTest.java index 61d2427..39ae75d 100644 --- a/test/jalview/fts/service/pdb/PDBFTSRestClientTest.java +++ b/test/jalview/fts/service/pdb/PDBFTSRestClientTest.java @@ -198,6 +198,7 @@ public class PDBFTSRestClientTest @Test(groups = { "External" }, expectedExceptions = Exception.class) public void testForExpectedRuntimeException() throws Exception { + // JBPNote: looks like this test fails for no good reason - what exception was supposed to be raised ? List wantedFields = new ArrayList(); wantedFields.add(PDBFTSRestClient.getInstance() .getDataColumnByNameOrCode("pdb_id")); -- 1.7.10.2