Updates test env

This commit is contained in:
Mouse Reeve 2021-08-06 18:13:51 -07:00
parent 5373663acf
commit 98a98f8e69
2 changed files with 4 additions and 1 deletions

View file

@ -36,6 +36,7 @@ jobs:
env:
SECRET_KEY: beepbeep
DEBUG: false
USE_HTTPS: true
DOMAIN: your.domain.here
BOOKWYRM_DATABASE_BACKEND: postgres
MEDIA_ROOT: images/

View file

@ -31,7 +31,9 @@ class AuthenticationViews(TestCase):
self.anonymous_user = AnonymousUser
self.anonymous_user.is_authenticated = False
self.settings = models.SiteSettings.objects.create(id=1)
self.settings = models.SiteSettings.objects.create(
id=1, require_email_confirmation=False
)
def test_login_get(self, _):
"""there are so many views, this just makes sure it LOADS"""