Skip to content

Commit

Permalink
Issue 29 : fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmt committed Sep 9, 2024
1 parent 14ce80a commit 74e2250
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.barsifedron.candid.cqrs.happy.shell.controllers;

import com.barsifedron.candid.cqrs.happy.command.BorrowItemCommand;
import com.barsifedron.candid.cqrs.happy.command.RegisterNewItemCommand;
import com.barsifedron.candid.cqrs.happy.command.RegisterNewMemberCommand;
import com.barsifedron.candid.cqrs.happy.command.BorrowItem;
import com.barsifedron.candid.cqrs.happy.query.GetItemsQueryHandler;
import com.barsifedron.candid.cqrs.happy.query.GetMemberQueryHandler;
import org.junit.Test;
Expand Down Expand Up @@ -68,7 +68,7 @@ public void shouldCreateNewMember() throws Exception {
ResponseEntity<String> borrowItemResponse = restTemplate
.postForEntity(
"http://localhost:" + port + "/members/{memberId}/loans",
BorrowItem.Command
BorrowItemCommand
.builder()
.itemId(registerItemResponse.getBody().id)
.build(),
Expand Down

0 comments on commit 74e2250

Please sign in to comment.