aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/fixtures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/fixtures.py b/src/tests/fixtures.py
index 99f46c37..16a9cb81 100644
--- a/src/tests/fixtures.py
+++ b/src/tests/fixtures.py
@@ -4,7 +4,7 @@ from web.models import db_create, db_empty, User, Article, Feed
def populate_db(db):
role_admin, role_user = db_create(db)
user1, user2 = [User(nickname=name, email="%s@test.te" % name,
- pwdhash=name, roles=[role_user], activation_key="")
+ pwdhash=name, roles=[role_user], enabled=True)
for name in ["user1", "user2"]]
db.session.add(user1)
db.session.add(user2)
bgstack15