Merge pull request #2580 from coreos-inc/team-sync-email-fix
Fix handling of team sync when a user already exists with the email address
This commit is contained in:
commit
5c4f7d50c6
3 changed files with 56 additions and 6 deletions
|
@ -56,6 +56,9 @@ def init_db_path(tmpdir_factory):
|
|||
application.config.update(conf)
|
||||
application.config.update({"DB_URI": sqlitedb})
|
||||
initialize_database()
|
||||
|
||||
db.obj.execute_sql('PRAGMA foreign_keys = ON;')
|
||||
|
||||
populate_database()
|
||||
close_db_filter(None)
|
||||
return str(sqlitedb_file)
|
||||
|
|
Reference in a new issue