terms: Rename and tweak FIRST_TIME_TERMS_OF_SERVICE_TEMPLATE.

We do s/TOS/TERMS_OF_SERVICE/ on the name, and while we're at it,
remove the assumed zerver/ namespace for the template, which isn't
correct -- Zulip Cloud related content should be in the corporate/
directory.
This commit is contained in:
Tim Abbott
2021-12-10 11:16:42 -08:00
committed by Tim Abbott
parent 509ed9ebf4
commit 95854d9d94
4 changed files with 7 additions and 4 deletions

View File

@@ -496,7 +496,7 @@ class HomeTest(ZulipTestCase):
user.tos_version = None
user.save()
with self.settings(FIRST_TIME_TOS_TEMPLATE="hello.html"), self.settings(
with self.settings(FIRST_TIME_TERMS_OF_SERVICE_TEMPLATE="zerver/hello.html"), self.settings(
TERMS_OF_SERVICE_VERSION="99.99"
):
result = self.client_post("/accounts/accept_terms/")