mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
fix unit and functional tests
This commit is contained in:
@@ -7,7 +7,13 @@ describe('<OrganizationAccess />', () => {
|
||||
let network;
|
||||
const organization = {
|
||||
id: 1,
|
||||
name: 'Default'
|
||||
name: 'Default',
|
||||
summary_fields: {
|
||||
object_roles: {},
|
||||
user_capabilities: {
|
||||
edit: true
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const data = {
|
||||
|
||||
@@ -26,6 +26,12 @@ exports[`<OrganizationAccess /> initially renders succesfully 1`] = `
|
||||
Object {
|
||||
"id": 1,
|
||||
"name": "Default",
|
||||
"summary_fields": Object {
|
||||
"object_roles": Object {},
|
||||
"user_capabilities": Object {
|
||||
"edit": true,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user