Skip to content

Commit

Permalink
Bump content-api-models to get new sponsorshipPackage
Browse files Browse the repository at this point in the history
`channels` is required in test because of a change in models some time between 17.5.1 and 19.0.0
  • Loading branch information
davidfurey committed Feb 21, 2024
1 parent 7bf78b9 commit 01840b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ scalacOptions := Seq("-release:11")
crossScalaVersions := Seq(scalaVersion.value, "2.12.18")

libraryDependencies ++= Seq(
"com.gu" %% "content-api-models-scala" % "17.5.1" % Provided,
"com.gu" %% "content-api-models-scala" % "19.0.0" % Provided,
"org.scalatest" %% "scalatest" % "3.0.8" % Test,
"com.typesafe.play" %% "play-json" % "2.7.4" % Test
)
Expand Down
1 change: 1 addition & 0 deletions src/test/scala/com/gu/commercial/TestModel.scala
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,6 @@ object TestModel {
def pillarId: Option[String] = None
def pillarName: Option[String] = None
def aliasPaths: Option[Seq[AliasPath]] = None
override def channels: Option[collection.Seq[ContentChannel]] = None
}
}

0 comments on commit 01840b5

Please sign in to comment.