Skip to content

Commit

Permalink
TRELLO-2537 : fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
ssedoudbgouv committed Sep 29, 2024
1 parent b684d32 commit 694436e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/loader/SignalConsoApplicationLoader.scala
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class SignalConsoComponents(
)
)
.build()
def s3Service: S3ServiceInterface = new S3Service(awsS3Client)
lazy val s3Service: S3ServiceInterface = new S3Service(awsS3Client)

// Actor
val antivirusScanActor: typed.ActorRef[AntivirusScanActor.ScanCommand] = actorSystem.spawn(
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/ReportControllerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class ReportControllerSpec(implicit ee: ExecutionEnv) extends Specification with
super.configuration
)

override def s3Service: S3ServiceInterface =
override lazy val s3Service: S3ServiceInterface =
new S3ServiceMock()
override def tokenConfiguration =
TokenConfiguration(None, None, 12.hours, Period.ofDays(60), Period.ZERO, None, Period.ZERO)
Expand Down
2 changes: 1 addition & 1 deletion test/utils/AppSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class DefaultApplicationLoader(
override def load(context: ApplicationLoader.Context): Application = {
components = new SignalConsoComponents(context) {

override def s3Service = new S3ServiceMock()
override lazy val s3Service = new S3ServiceMock()

override lazy val mailRetriesService: MailRetriesService = mailRetriesServiceMock

Expand Down

0 comments on commit 694436e

Please sign in to comment.