Skip to content

Commit

Permalink
Merge pull request #730 from folio-org/MODINVSTOR-860
Browse files Browse the repository at this point in the history
MODINVSTOR-860 Remove Authority sample data
  • Loading branch information
viacheslavkol committed Jan 10, 2022
2 parents fb87a71 + 00c5944 commit 7a054b2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 170 deletions.
42 changes: 0 additions & 42 deletions sample-data/authorities/auth1.json

This file was deleted.

44 changes: 0 additions & 44 deletions sample-data/authorities/auth2.json

This file was deleted.

36 changes: 0 additions & 36 deletions sample-data/authorities/auth3.json

This file was deleted.

42 changes: 0 additions & 42 deletions sample-data/authorities/auth4.json

This file was deleted.

1 change: 0 additions & 1 deletion src/main/java/org/folio/rest/impl/TenantRefAPI.java
Expand Up @@ -142,7 +142,6 @@ Future<Integer> loadData(TenantAttributes attributes, String tenantId,
tl.withIdContent();
tl.add("holdingsrecords", "holdings-storage/holdings");
tl.add("items", "item-storage/items");
tl.add("authorities", "authority-storage/authorities");
tl.add("instance-relationships", "instance-storage/instance-relationships");
tl.add("bound-with/instances", "instance-storage/instances");
tl.add("bound-with/holdingsrecords", "holdings-storage/holdings");
Expand Down
5 changes: 0 additions & 5 deletions src/test/java/org/folio/rest/api/SampleDataTest.java
Expand Up @@ -74,11 +74,6 @@ public void boundWithPartsCount() {
assertCount(boundWithStorageUrl("?limit=100"), "boundWithParts", 3);
}

@Test
public void authorities() {
assertCount(authoritiesStorageUrl("?limit=100"), "authorities", 4);
}

private JsonObject get(URL url) {
try {
CompletableFuture<Response> getCompleted = new CompletableFuture<>();
Expand Down

0 comments on commit 7a054b2

Please sign in to comment.