From b697cf566935c1740989d5564ba69e72de72709d Mon Sep 17 00:00:00 2001 From: David Glick Date: Sat, 16 Jul 2022 17:42:53 -0700 Subject: [PATCH] fix test --- Products/CMFEditions/tests/test_IntegrationTests.py | 1 + news/89.bugfix | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 news/89.bugfix diff --git a/Products/CMFEditions/tests/test_IntegrationTests.py b/Products/CMFEditions/tests/test_IntegrationTests.py index a0b384b..f6b7ac1 100644 --- a/Products/CMFEditions/tests/test_IntegrationTests.py +++ b/Products/CMFEditions/tests/test_IntegrationTests.py @@ -394,6 +394,7 @@ def test13_revertUpdatesCatalog(self): doc.text = RichTextValue("Plain text", "text/plain", "text/plain") portal_repo.applyVersionControl(doc) doc.text = RichTextValue("blahblah", "text/plain", "text/plain") + doc.reindexObject(idxs=["SearchableText"]) portal_repo.save(doc) # Test that catalog has current value results = cat(SearchableText="Plain Text") diff --git a/news/89.bugfix b/news/89.bugfix new file mode 100644 index 0000000..f0f80e5 --- /dev/null +++ b/news/89.bugfix @@ -0,0 +1,2 @@ +Fix test to work with updated CMFUid. +[davisagli]