diff --git a/pylib/tests/test_cards.py b/pylib/tests/test_cards.py index 5728cf7e1..a4e9e9daf 100644 --- a/pylib/tests/test_cards.py +++ b/pylib/tests/test_cards.py @@ -45,7 +45,7 @@ def test_genrem(): mm = col.models # adding a new template should automatically create cards t = mm.newTemplate("rev") - t["qfmt"] = "{{Front}}" + t["qfmt"] = "{{Front}}2" t["afmt"] = "" mm.addTemplate(m, t) mm.save(m, templates=True) diff --git a/pylib/tests/test_schedv1.py b/pylib/tests/test_schedv1.py index 92a402b5f..0abb4d805 100644 --- a/pylib/tests/test_schedv1.py +++ b/pylib/tests/test_schedv1.py @@ -811,7 +811,7 @@ def test_ordcycle(): t["afmt"] = "{{Front}}" mm.addTemplate(m, t) t = mm.newTemplate("f2") - t["qfmt"] = "{{Front}}" + t["qfmt"] = "{{Front}}2" t["afmt"] = "{{Back}}" mm.addTemplate(m, t) mm.save(m) diff --git a/pylib/tests/test_schedv2.py b/pylib/tests/test_schedv2.py index 7624a9812..f25e20425 100644 --- a/pylib/tests/test_schedv2.py +++ b/pylib/tests/test_schedv2.py @@ -885,7 +885,7 @@ def test_ordcycle(): t["afmt"] = "{{Front}}" mm.addTemplate(m, t) t = mm.newTemplate("f2") - t["qfmt"] = "{{Front}}" + t["qfmt"] = "{{Front}}2" t["afmt"] = "{{Back}}" mm.addTemplate(m, t) mm.save(m) diff --git a/rslib/src/notetype/schemachange.rs b/rslib/src/notetype/schemachange.rs index 51e260cd5..033fbd494 100644 --- a/rslib/src/notetype/schemachange.rs +++ b/rslib/src/notetype/schemachange.rs @@ -311,7 +311,7 @@ mod test { ); // add an extra card template - nt.add_template("card 2", "{{Front}}", ""); + nt.add_template("card 2", "{{Front}}2", ""); col.update_notetype(&mut nt)?; assert_eq!(