Skip to content

Commit d75afa2

Browse files
committed
Register the expected resource
1 parent 2532a86 commit d75afa2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

org.bridgedb/src/test/java/org/bridgedb/DataSourceTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,9 @@ public void testBioregistry() {
507507

508508
@Test
509509
public void testFullNameExists() {
510+
DataSource.register("S", "UniProtKB")
511+
.bioregistryPrefix("uniprot")
512+
.asDataSource();
510513
assertTrue(DataSource.fullNameExists("Uniprot-TrEMBL"));;
511514
assertTrue(DataSource.fullNameExists("Uniprot-SwissProt"));;
512515
assertTrue(DataSource.fullNameExists("UniProtKB"));;

0 commit comments

Comments
 (0)