blob: c6fc026126db8e89f2d4ced8b2ce1b15bd463418 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001# TC_NS1.60.1.NEG Adding a Bogus ID
2expect 403
3ns responsible add com.test.TC_NS1.@[user.name] bogus
4
5# TC_NS1.60.2.NEG Adding a Bogus ID, full Domain
6expect 403
7ns responsible add com.test.TC_NS1.@[user.name] bogus@csp.att.com
8
9# TC_NS1.60.3.NEG Adding an OK ID, bad domain
10expect 403
11ns responsible add com.test.TC_NS1.@[user.name] xz9914@bogus.test.com
12
13# TC_NS1.60.4.NEG Deleting an OK ID, short, but not existent
14expect 404
15ns responsible del com.test.TC_NS1.@[user.name] testid
16
17# TC_NS1.60.5.NEG Deleting an OK ID, long, but not existent
18expect 404
19ns responsible del com.test.TC_NS1.@[user.name] testid@aaf.att.com
20
21sleep @[NFR]
22# TC_NS1.60.10.POS Adding an OK ID
23# Note: mw9749 used because we must have employee as responsible
24expect 201
25ns responsible add com.test.TC_NS1.@[user.name] mw9749
26
27# TC_NS1.60.11.POS Deleting One of Two
28expect 200
29ns responsible del com.test.TC_NS1.@[user.name] mw9749
30
31# TC_NS1.60.12.NEG mw9749 no longer Admin
32expect 404
33ns responsible del com.test.TC_NS1.@[user.name] mw9749
34
35# TC_NS1.60.20.NEG User Role Add should obey same "addResponsible" restrictions
36expect 403
37role user add com.test.TC_NS1.@[user.name].owner m88888@i.have.no.domain
38
39# TC_NS1.60.21.NEG Role User Add should obey same "addResponsible" restrictions
40expect 403
41user role add m88888@i.have.no.domain com.test.TC_NS1.@[user.name].owner
42
43