Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
sophie-macmillan committed Jun 26, 2023
1 parent 8f5e89b commit 5686453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/test/views/support/cleaner/AtomCleanerTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class AtomCleanerTest extends AnyFlatSpec with Matchers with WithTestApplication
val html = views.html.fragments.atoms
.media(media = youTubeAtom.map(_.media.head).get, displayCaption = false, mediaWrapper = None)(TestRequest())
val doc = Jsoup.parse(html.toString())
doc.getElementsByClass("youtube-media-atom__bottom-bar__duration").html() should be("0:36")
doc.getElementsByClass("youtube-media-atom__bottom-bar__duration").html() should include("0:36")
}

"Youtube template" should "use active asset" in {
Expand Down

0 comments on commit 5686453

Please sign in to comment.