Skip to content

Commit

Permalink
Fix minor bug that caused create_users to not commit changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Jun 15, 2012
1 parent f8dbc69 commit 04ca419
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/lib/create_test_data.py
Expand Up @@ -537,6 +537,7 @@ def _create_user_without_commit(cls, name='', **user_dict):
user = model.User(name=unicode(name), **user_dict)
model.Session.add(user)
cls.user_refs.append(user_ref)
return user

@classmethod
def create_user(cls, name='', **kwargs):
Expand Down

0 comments on commit 04ca419

Please sign in to comment.