mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
removed namespace from user fixture
This commit is contained in:
@@ -299,7 +299,7 @@ const getAuditor = (namespace = session) => getOrganization(namespace)
|
|||||||
|
|
||||||
const getUser = (namespace = session) => getOrganization(namespace)
|
const getUser = (namespace = session) => getOrganization(namespace)
|
||||||
.then(organization => getOrCreate(`/organizations/${organization.id}/users/`, {
|
.then(organization => getOrCreate(`/organizations/${organization.id}/users/`, {
|
||||||
username: `${namespace}-user-${uuid().substr(0, 8)}`,
|
username: `user-${uuid().substr(0, 8)}`,
|
||||||
organization: organization.id,
|
organization: organization.id,
|
||||||
first_name: 'firstname',
|
first_name: 'firstname',
|
||||||
last_name: 'lastname',
|
last_name: 'lastname',
|
||||||
|
|||||||
Reference in New Issue
Block a user