Skip to content

Commit

Permalink
Modify end-to-end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip-Petruneac committed Sep 5, 2024
1 parent f49397b commit 35ee451
Show file tree
Hide file tree
Showing 2 changed files with 1,360 additions and 1,360 deletions.
6 changes: 3 additions & 3 deletions api/end-to-end_tests/test_authors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ testcases:
- "SET @rowling_id = LAST_INSERT_ID();"
- "INSERT INTO `authors` (`Lastname`, `Firstname`, `photo`) VALUES ('Doe', 'John', 'john.jpg');"
- "SET @doe_id = LAST_INSERT_ID();"
- "INSERT INTO `books` (`title`, `photo`, `author_id`) VALUES ('Harry Potter', 'hp.jpg', @rowling_id);"
- "INSERT INTO `books` (`title`, `photo`, `author_id`) VALUES ('The Hobbit', 'hobbit.jpg', @doe_id);"
- "INSERT INTO `books` (`title`, `photo`, `author_id`, `details`) VALUES ('Harry Potter', 'hp.jpg', @rowling_id, 'A fantasy novel about a young wizard, Harry Potter.');"
- "INSERT INTO `books` (`title`, `photo`, `author_id`, `details`) VALUES ('The Hobbit', 'hobbit.jpg', @doe_id, 'A fantasy novel about the journey of a hobbit named Bilbo Baggins.');"
- "INSERT INTO `authors_books` (`author_id`, `book_id`) VALUES (@rowling_id, 1);"
- "INSERT INTO `authors_books` (`author_id`, `book_id`) VALUES (@doe_id, 2);"
- "INSERT INTO `authors_books` (`author_id`, `book_id`) VALUES (@doe_id, 2);"

- name: create author
steps:
Expand Down
Loading

0 comments on commit 35ee451

Please sign in to comment.