blob: c4ae2bb7a16e9ae7a20c12b97a0f3057091b57df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# TC_NSdelete1.40.1.POS Create valid Role in my Namespace
expect 201
role create com.test.force.@[user.name].r.A
# TC_NSdelete1.40.2.POS Create valid permission in my Namespace
expect 201
perm create com.test.force.@[user.name].p.A myInstance myAction
# TC_NSdelete1.40.3.POS Add credential to my namespace
expect 201
user cred add m99990@@[user.name].force.test.com password123
# TC_NSdelete1.40.10.POS Delete Program in my Namespace
expect 200
set force=true ns delete com.test.force.@[user.name]
sleep @[NFR]
# TC_NSdelete1.40.20.NEG Role and permission should not exist
expect 200,404
ns list name com.test.force.@[user.name]
# TC_NSdelete1.40.22.NEG Credential should not exist
expect 404
set force=true
user cred del m99990@@[user.name].force.test.com
|