From 4a1582d0f772b015c5af99d7f44b76daa507e13c Mon Sep 17 00:00:00 2001 From: Anjum Abbas <49648217+anjumabbas5@users.noreply.github.com> Date: Thu, 9 May 2024 13:03:05 +0100 Subject: [PATCH] API-7621 - bump api-platform-application-events to 0.49.0 (#492) --- project/AppDependencies.scala | 2 +- .../controllers/ApplicationCommandControllerSpec.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project/AppDependencies.scala b/project/AppDependencies.scala index abdbf3426..28cc827b1 100644 --- a/project/AppDependencies.scala +++ b/project/AppDependencies.scala @@ -7,7 +7,7 @@ object AppDependencies { lazy val bootstrapVersion = "8.4.0" lazy val hmrcMongoVersion = "1.7.0" lazy val commonDomainVersion = "0.13.0" - lazy val applicationEventVersion = "0.48.0" + lazy val applicationEventVersion = "0.49.0" private lazy val compileDeps = Seq( "uk.gov.hmrc" %% "bootstrap-backend-play-30" % bootstrapVersion, diff --git a/test/uk/gov/hmrc/thirdpartyapplication/controllers/ApplicationCommandControllerSpec.scala b/test/uk/gov/hmrc/thirdpartyapplication/controllers/ApplicationCommandControllerSpec.scala index 2208dce8b..3ff3e9ef0 100644 --- a/test/uk/gov/hmrc/thirdpartyapplication/controllers/ApplicationCommandControllerSpec.scala +++ b/test/uk/gov/hmrc/thirdpartyapplication/controllers/ApplicationCommandControllerSpec.scala @@ -232,7 +232,7 @@ class ApplicationCommandControllerSpec } "write to json" in { val jsonText = - """{"command":{"gatekeeperUser":"a a","timestamp":"2020-01-02T03:04:05.006Z","grantLength":180,"updateType":"changeGrantLength"},"verifiedCollaboratorsToNotify":[]}""" + """{"command":{"gatekeeperUser":"a a","timestamp":"2020-01-02T03:04:05.006Z","grantLength":"P180D","updateType":"changeGrantLength"},"verifiedCollaboratorsToNotify":[]}""" Json.toJson(req).toString() shouldBe jsonText } }