Refactor auth-method and managhed-group factory. This work is not finish.
This commit is contained in:
1 parent
101e6653d4
commit
ef73f8dacd
4 files changed
+19
-11
No files matched your search
@@ -11,7 +11,15 @@ export default Factory.extend({
|
||||
created_time: () => date.recent(),
|
||||
updated_time: () => date.recent(),
|
||||
version: () => datatype.number(),
|
||||
type: 'OIDC',
|
||||
auth_method_id: () => datatype.number(),
|
||||
member_ids: () => datatype.array(),
|
||||
type: 'oidc',
|
||||
attributes: function () {
|
||||
switch (this.type) {
|
||||
case 'oidc':
|
||||
return {
|
||||
filter: random.words(),
|
||||
};
|
||||
default:
|
||||
return;
|
||||
}
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user