Skip to content

Commit

Permalink
CIRC-2099 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SreejaMangarapu committed Jul 8, 2024
1 parent 17e14a9 commit ff55374
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/folio/circulation/support/Clients.java
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ private CollectionResourceClient createPrintEventsStorageClient(
OkapiHttpClient client, WebContext context) throws MalformedURLException {

return getCollectionResourceClient(client, context,
"/print-events-storage");
"/print-events-storage/print-events");
}

private GetManyRecordsClient createSettingsStorageClient(
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/api/printEvents/PrintEventsTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void postPrintEventsWithInvalidField_EmptyRequestIdsList() {
}

@Test
void postPrintEventsWithInvalidField_NullFeild() {
void postPrintEventsWithInvalidField_NullField() {
JsonObject printRequest = getPrintEvent();
printRequest.put(REQUESTER_ID_FIELD, null);
Response response = printEventsClient.attemptCreate(printRequest);
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/api/support/fakes/FakeOkapi.java
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public void start(Promise<Void> startFuture) throws IOException {
.create().register(router);

new FakeStorageModuleBuilder()
.withRootPath("/print-events-storage")
.withRootPath("/print-events-storage/print-events")
.withChangeMetadata()
.create().register(router);

Expand Down

0 comments on commit ff55374

Please sign in to comment.