Skip to content

Commit 73288d1

Browse files
committed
remove WsClientTestKit requirement from AllNotificationsTestKit
1 parent 6e0250e commit 73288d1

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

testkit/src/main/scala/app/softnetwork/notification/scalatest/AllNotificationsTestKit.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ trait AllNotificationsTestKit
2828
extends NotificationGrpcServerTestKit[Notification]
2929
with NotificationTestKit[Notification]
3030
with ApnsToken {
31-
_: Suite with WsClientTestKit =>
31+
_: Suite =>
3232

3333
lazy val apnsPort: Int = availablePort
3434

testkit/src/test/scala/app/softnetwork/notification/handlers/AllNotificationsHandlerSpec.scala

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ package app.softnetwork.notification.handlers
22

33
import org.scalatest.wordspec.AnyWordSpecLike
44
import app.softnetwork.notification.message._
5-
import app.softnetwork.notification.scalatest.{AllNotificationsTestKit, WsClientTestKit}
5+
import app.softnetwork.notification.scalatest.AllNotificationsTestKit
66
import org.slf4j.{Logger, LoggerFactory}
77

88
import scala.util.{Failure, Success}
99

1010
/** Created by smanciot on 14/04/2020.
1111
*/
12-
class AllNotificationsHandlerSpec
13-
extends AnyWordSpecLike
14-
with AllNotificationsTestKit
15-
with WsClientTestKit {
12+
class AllNotificationsHandlerSpec extends AnyWordSpecLike with AllNotificationsTestKit {
1613

1714
lazy val log: Logger = LoggerFactory getLogger getClass.getName
1815

0 commit comments

Comments
 (0)