Skip to content

Commit

Permalink
chore: apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdvl committed Jun 13, 2024
1 parent 51d2ac3 commit 86c3784
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion sport/test/LeagueTablesFeatureTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ import org.scalatest.matchers.should.Matchers

Scenario("Should redirect when no competition table data found") {
val leagueTableController =
new LeagueTableController(testCompetitionsService, play.api.test.Helpers.stubControllerComponents(), testContentApiClient)
new LeagueTableController(
testCompetitionsService,
play.api.test.Helpers.stubControllerComponents(),
testContentApiClient,
)
val result = leagueTableController.renderCompetition("sfgsfgsfg")(FakeRequest())
status(result) should be(303)
}
Expand Down
6 changes: 5 additions & 1 deletion sport/test/controllers/LeagueTableControllerTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ import org.scalatest.{BeforeAndAfterAll, DoNotDiscover}
with WithTestContentApiClient {

lazy val leagueTableController =
new LeagueTableController(testCompetitionsService, play.api.test.Helpers.stubControllerComponents(), testContentApiClient)
new LeagueTableController(
testCompetitionsService,
play.api.test.Helpers.stubControllerComponents(),
testContentApiClient,
)

"League Table Controller" should "200 when content type is table" in {
val result = leagueTableController.renderLeagueTables()(TestRequest())
Expand Down

0 comments on commit 86c3784

Please sign in to comment.