Skip to content

Commit

Permalink
refactor: Replace spray json with zio json for list endpoints (#3226)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin Procyk <[email protected]>
  • Loading branch information
seakayone and mpro7 authored May 2, 2024
1 parent e3e0d75 commit 1ba3473
Show file tree
Hide file tree
Showing 15 changed files with 771 additions and 583 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ import pekko.http.scaladsl.unmarshalling.Unmarshal
/**
* End-to-End (E2E) test specification for testing lists endpoint.
*/
class CreateListItemsRouteADME2ESpec extends E2ESpec with TriplestoreJsonProtocol with ListADMJsonProtocol {
class CreateListItemsRouteADME2ESpec
extends E2ESpec
with TriplestoreJsonProtocol
with IntegrationTestListADMJsonProtocol {

implicit def default: RouteTestTimeout = RouteTestTimeout(5.seconds)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ import pekko.http.scaladsl.testkit.RouteTestTimeout
/**
* End-to-End (E2E) test specification for testing endpoint.
*/
class DeleteListItemsRouteADME2ESpec extends E2ESpec with TriplestoreJsonProtocol with ListADMJsonProtocol {
class DeleteListItemsRouteADME2ESpec
extends E2ESpec
with TriplestoreJsonProtocol
with IntegrationTestListADMJsonProtocol {

implicit def default: RouteTestTimeout = RouteTestTimeout(5.seconds)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import pekko.http.scaladsl.testkit.RouteTestTimeout
/**
* End-to-End (E2E) test specification for testing lists endpoint.
*/
class GetListItemsRouteADME2ESpec extends E2ESpec with TriplestoreJsonProtocol with ListADMJsonProtocol {
class GetListItemsRouteADME2ESpec extends E2ESpec with TriplestoreJsonProtocol with IntegrationTestListADMJsonProtocol {

implicit def default: RouteTestTimeout = RouteTestTimeout(5.seconds)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ import pekko.http.scaladsl.testkit.RouteTestTimeout
/**
* End-to-End (E2E) test specification for testing update node props routes.
*/
class UpdateListItemsRouteADME2ESpec extends E2ESpec with TriplestoreJsonProtocol with ListADMJsonProtocol {
class UpdateListItemsRouteADME2ESpec
extends E2ESpec
with TriplestoreJsonProtocol
with IntegrationTestListADMJsonProtocol {

implicit def default: RouteTestTimeout = RouteTestTimeout(5.seconds)

Expand Down
Loading

0 comments on commit 1ba3473

Please sign in to comment.