blob: 6c69bb2096851dc856e5c3de81a379496a2f8079 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001as testid@aaf.att.com
2# TC_NSdelete1.30.1.POS Create valid Role in my Namespace
3expect 201
4role create com.@[user.name].r.A
5
6# TC_NSdelete1.30.2.NEG Delete Company with role attached
7expect 424
8ns delete com.@[user.name]
9
10# TC_NSdelete1.30.3.POS Namespace Admin can delete Namepace defined Roles
11expect 200
12role delete com.@[user.name].r.A
13
14# TC_NSdelete1.30.10.POS Create valid permission
15expect 201
16perm create com.@[user.name].p.A myInstance myAction
17
18# TC_NSdelete1.30.11.NEG Delete Company with permission attached
19expect 424
20ns delete com.@[user.name]
21
22# TC_NSdelete1.30.12.POS Namespace Admin can delete Namepace defined Perms
23expect 200
24perm delete com.@[user.name].p.A myInstance myAction
25
26# TC_NSdelete1.30.20.POS Create valid Credential in my namespace
27expect 201
28user cred add m99990@@[user.name].com password123
29
30# TC_NSdelete1.30.21.NEG Delete Company with credential attached
31expect 424
32ns delete com.@[user.name]
33
34# TC_NSdelete1.30.22.POS Namespace admin can remove Cred
35expect 200
36set force=true
37user cred del m99990@@[user.name].com
38
39# TC_NSdelete1.30.30.POS Delete Company with no roles or perms attached
40expect 200
41ns delete com.@[user.name]
42