From d75afa20bc0d1a3bc638aa3e5790b0500f19eda0 Mon Sep 17 00:00:00 2001 From: Egon Willighagen Date: Mon, 30 Dec 2024 14:40:18 +0100 Subject: [PATCH] Register the expected resource --- org.bridgedb/src/test/java/org/bridgedb/DataSourceTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.bridgedb/src/test/java/org/bridgedb/DataSourceTest.java b/org.bridgedb/src/test/java/org/bridgedb/DataSourceTest.java index 9cba1f63..9074537a 100644 --- a/org.bridgedb/src/test/java/org/bridgedb/DataSourceTest.java +++ b/org.bridgedb/src/test/java/org/bridgedb/DataSourceTest.java @@ -507,6 +507,9 @@ public void testBioregistry() { @Test public void testFullNameExists() { + DataSource.register("S", "UniProtKB") + .bioregistryPrefix("uniprot") + .asDataSource(); assertTrue(DataSource.fullNameExists("Uniprot-TrEMBL"));; assertTrue(DataSource.fullNameExists("Uniprot-SwissProt"));; assertTrue(DataSource.fullNameExists("UniProtKB"));;