Skip to content

Commit 6ee3d8b

Browse files
committed
Avoid name collision
1 parent c8e5c5b commit 6ee3d8b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package no.ndla.articleapi.db.migration
1111
import no.ndla.articleapi.db.HtmlMigration
1212
import org.jsoup.nodes.Element
1313

14-
class V60__ConvertNorgesfilmUrls extends HtmlMigration {
14+
class V62__ConvertNorgesfilmUrls extends HtmlMigration {
1515
override val convertVisualElement: Boolean = true
1616
override def convertHtml(doc: Element, language: String): Element = {
1717
doc
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ package no.ndla.articleapi.db.migration
1010

1111
import no.ndla.articleapi.{TestEnvironment, UnitSuite}
1212

13-
class V60__ConvertNorgesfilmUrlsTest extends UnitSuite with TestEnvironment {
13+
class V62__ConvertNorgesfilmUrlsTest extends UnitSuite with TestEnvironment {
1414
test("That norgesfilm urls looses ndlafilm.aspx") {
15-
val migration = new V60__ConvertNorgesfilmUrls
15+
val migration = new V62__ConvertNorgesfilmUrls
1616
val oldArticle =
1717
"""<section><ndlaembed data-resource="iframe" data-type="iframe" data-url="https://ndla.filmiundervisning.no/film/ndlafilm.aspx?filmId=13074" data-width="700" data-height="300"></ndlaembed></section>"""
1818
val newArticle =

draft-api/src/main/scala/no/ndla/draftapi/db/migration/V72__ConvertNorgesfilmUrls.scala renamed to draft-api/src/main/scala/no/ndla/draftapi/db/migration/V75__ConvertNorgesfilmUrls.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package no.ndla.draftapi.db.migration
1111
import no.ndla.draftapi.db.HtmlMigration
1212
import org.jsoup.nodes.Element
1313

14-
class V72__ConvertNorgesfilmUrls extends HtmlMigration {
14+
class V75__ConvertNorgesfilmUrls extends HtmlMigration {
1515
override val convertVisualElement: Boolean = true
1616
override def convertHtml(doc: Element, language: String): Element = {
1717
doc
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ package no.ndla.draftapi.db.migration
1010

1111
import no.ndla.draftapi.{TestEnvironment, UnitSuite}
1212

13-
class V72__ConvertNorgesfilmUrlsTest extends UnitSuite with TestEnvironment {
13+
class V75__ConvertNorgesfilmUrlsTest extends UnitSuite with TestEnvironment {
1414
test("That norgesfilm urls looses ndlafilm.aspx") {
15-
val migration = new V72__ConvertNorgesfilmUrls
15+
val migration = new V75__ConvertNorgesfilmUrls
1616
val oldArticle =
1717
"""<section><ndlaembed data-resource="iframe" data-type="iframe" data-url="https://ndla.filmiundervisning.no/film/ndlafilm.aspx?filmId=13074" data-width="700" data-height="300"></ndlaembed></section>"""
1818
val newArticle =

0 commit comments

Comments
 (0)