Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #209 from DanielaSfregola/#191_threads_test
Browse files Browse the repository at this point in the history
#191 Fixed threads explosion in tests
  • Loading branch information
DanielaSfregola authored Feb 19, 2018
2 parents d1338ac + f2e2a2b commit 8623497
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ package com.danielasfregola.twitter4s.helpers

import akka.actor.ActorSystem
import akka.stream.ActorMaterializer
import akka.testkit.TestKit

abstract class TestActorSystem extends TestKit(ActorSystem()) {
abstract class TestActorSystem {

implicit val system = TestSystem.system

implicit val materializer = ActorMaterializer()
}

object TestSystem {

lazy val system = ActorSystem("test-system")
}

0 comments on commit 8623497

Please sign in to comment.