File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
scala-akka-2/src/it/scala-2/com/baeldung/scala/akka_2/alpakka_sse Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,10 @@ lazy val scala_akka = (project in file("scala-akka"))
205
205
206
206
lazy val scala_akka_2 = (project in file(" scala-akka-2" ))
207
207
.enablePlugins(AkkaGrpcPlugin )
208
+ .configs(IntegrationTest )
208
209
.settings(
209
210
name := " scala-akka-2" ,
211
+ Defaults .itSettings,
210
212
libraryDependencies ++= Seq (
211
213
" com.typesafe.akka" %% " akka-actor-typed" % AkkaVersion ,
212
214
" com.typesafe.akka" %% " akka-stream" % AkkaVersion ,
@@ -216,9 +218,9 @@ lazy val scala_akka_2 = (project in file("scala-akka-2"))
216
218
" com.typesafe.akka" %% " akka-http-testkit" % AkkaHttpVersion ,
217
219
" com.lightbend.akka" %% " akka-stream-alpakka-sse" % " 5.0.0" ,
218
220
" com.typesafe.akka" %% " akka-persistence-typed" % AkkaVersion ,
219
- " com.typesafe.akka" %% " akka-actor-testkit-typed" % AkkaVersion % Test ,
220
- " com.typesafe.akka" %% " akka-http-testkit" % AkkaHttpVersion % Test
221
- ) ++ scalaTestDeps
221
+ " com.typesafe.akka" %% " akka-actor-testkit-typed" % AkkaVersion % " it,test " ,
222
+ " com.typesafe.akka" %% " akka-http-testkit" % AkkaHttpVersion % " it,test "
223
+ ) ++ scalaTestDeps.map(_.withConfigurations( Some ( " it,test " )))
222
224
)
223
225
val monocleVersion = " 2.1.0"
224
226
val slickVersion = " 3.4.1"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import akka.testkit.TestKit
5
5
import org .scalatest .BeforeAndAfterAll
6
6
import org .scalatest .wordspec .AsyncWordSpecLike
7
7
8
- class WikimediaSSEConsumerTest
8
+ class WikimediaSSEConsumerLiveTest
9
9
extends TestKit (ActorSystem (" wikimediaSSESpec" ))
10
10
with AsyncWordSpecLike
11
11
with BeforeAndAfterAll {
You can’t perform that action at this time.
0 commit comments