Skip to content

Commit

Permalink
Fix for Scala 3
Browse files Browse the repository at this point in the history
  • Loading branch information
dragisak committed Aug 16, 2023
1 parent 785c4f8 commit 6bb8e0d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AkkaHttpClientMockTest

private implicit lazy val system: ActorSystem = ActorSystem()

override def afterAll: Unit = {
override def afterAll(): Unit = {
system.terminate()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ class AkkaHttpClientTest extends AnyFlatSpec with Matchers with DockerTests with

private implicit lazy val system: ActorSystem = ActorSystem()

override def beforeAll: Unit = {
override def beforeAll(): Unit = {
Try {
client.execute {
deleteIndex("testindex")
}.await
}
}

override def afterAll: Unit = {
override def afterAll(): Unit = {
Try {
client.execute {
deleteIndex("testindex")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class PekkoHttpClientMockTest

private implicit lazy val system: ActorSystem = ActorSystem()

override def afterAll: Unit = {
override def afterAll(): Unit = {
system.terminate()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ class PekkoHttpClientTest extends AnyFlatSpec with Matchers with DockerTests wit

private implicit lazy val system: ActorSystem = ActorSystem()

override def beforeAll: Unit = {
override def beforeAll(): Unit = {
Try {
client.execute {
deleteIndex("testindex")
}.await
}
}

override def afterAll: Unit = {
override def afterAll(): Unit = {
Try {
client.execute {
deleteIndex("testindex")
Expand Down

0 comments on commit 6bb8e0d

Please sign in to comment.