Skip to content

Commit

Permalink
chore: commented book api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rodobarcaaa committed Oct 23, 2023
1 parent df81c80 commit 861472e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class HttpApi(
config: HttpConfig
) {

private lazy val apiDocs = metricsApi.docs <+> publisherApi.docs <+> authorApi.docs <+> bookApi.docs
private lazy val apiDocs = publisherApi.docs <+> authorApi.docs <+> bookApi.docs

private lazy val apiRoutes = metricsApi.routes <+> publisherApi.routes <+> authorApi.routes <+> bookApi.routes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@
//
// private val books = module.bookRepository.books.get()
//
// private val book: Book = Book(
// BookId(UUID.randomUUID),
// BookTitle("The Pragmatic Programmer, 20th Anniversary Edition"),
// BookYear(2019),
// Author("David Thomas, Andrew Hunt")
// )
//
//// TODO private val book: Book = BookMother.random or try Generators
//
// test(GET(uri"books" / s"${books.head.id.value}")).alias("FOUND") { response =>
// assertEquals(response.status, Status.Ok)
Expand Down

0 comments on commit 861472e

Please sign in to comment.