Fix logic error in new published histories sort by owner test.

I switched to randomly generated usernames without actually ensure the random usernames would be generated in the same lexiographic order - that wasn't super bright of me. That sort by owner test should pass as frequently as the other tests in that test case class now.
This commit is contained in:
John Chilton
2017-09-07 16:35:44 -04:00
parent b3f0f36c89
commit 5e179df2a8
@@ -188,8 +188,8 @@ class HistoryGridTestCase(SeleniumTestCase):
if getattr(HistoryGridTestCase, "user1_email", None):
return
HistoryGridTestCase.user1_email = self._get_random_email()
HistoryGridTestCase.user2_email = self._get_random_email()
HistoryGridTestCase.user1_email = self._get_random_email("test1")
HistoryGridTestCase.user2_email = self._get_random_email("test2")
self.register(self.user1_email)
self.create_history(HISTORY1_NAME)
self.set_tags(HISTORY1_TAGS)