removed namespace from user fixture

This commit is contained in:
Daniel Sami 2018-11-07 09:02:00 -05:00
parent 365bf4eb53
commit e86ded6c68

View File

@ -299,7 +299,7 @@ const getAuditor = (namespace = session) => getOrganization(namespace)
const getUser = (namespace = session) => getOrganization(namespace)
.then(organization => getOrCreate(`/organizations/${organization.id}/users/`, {
username: `${namespace}-user-${uuid().substr(0, 8)}`,
username: `user-${uuid().substr(0, 8)}`,
organization: organization.id,
first_name: 'firstname',
last_name: 'lastname',