Commit 423b0974 authored by Ivan Tyagov's avatar Ivan Tyagov

Fix tests so owner doesn't try to publish its own document.

parent f4c6e208
...@@ -1143,12 +1143,12 @@ class TestDocument(TestDocumentMixin): ...@@ -1143,12 +1143,12 @@ class TestDocument(TestDocumentMixin):
version = '003', version = '003',
language = 'bg', language = 'bg',
reference = 'tlv-test-doc-1') reference = 'tlv-test-doc-1')
self.login()
contributor_list = document_4.getContributorValueList() contributor_list = document_4.getContributorValueList()
contributor_list.append(person1) contributor_list.append(person1)
document_4.setContributorValueList(contributor_list) document_4.setContributorValueList(contributor_list)
document_4.publish() document_4.publish()
self.tic() self.tic()
self.login()
# search arbitrary word # search arbitrary word
kw = {'searchabletext_any': 'software'} kw = {'searchabletext_any': 'software'}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment