Skip to content

Commit 7bfc6cf

Browse files
committed
Add tutorial using composite Id with Data REST
1 parent f906f62 commit 7bfc6cf

File tree

1 file changed

+1
-1
lines changed
  • data-rest-composite-id/src/test/java/zin/rashidi/datarest/compositeid/book

1 file changed

+1
-1
lines changed

data-rest-composite-id/src/test/java/zin/rashidi/datarest/compositeid/book/GetBookTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class GetBookTests {
2828

2929
@Test
3030
@Sql(statements = {
31-
"INSERT INTO author (id, first_name, last_name) VALUES (100, 'Rudyard', 'Kipling')",
31+
"INSERT INTO author (id, first_name, last_name) VALUES (200, 'Rudyard', 'Kipling')",
3232
"INSERT INTO book (prefix, registration_group, registrant, publication, check_digit, author_id, title) VALUES (978, 1, 509, 82782, 9, 100, 'The Jungle Book')"
3333
})
3434
@DisplayName("Given a book is available When I request by its ISBN Then its information should be returned")

0 commit comments

Comments
 (0)