blob: 2dec8bf3fad04ec729fe0c751beb3745bd529c5f [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001# TC_DELG1.20.10.NEG Cannot create delegate with unknown user ID
2expect 404
3user delegate add aa111q@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
4
5# TC_DELG1.20.11.NEG Cannot Create Delegate with unknown delegate
6expect 404
7user delegate add @[user.name]@csp.att.com aa111q@csp.att.com '2099-12-31 06:00'
8
9# TC_DELG1.20.20.NEG May not change user, no delegate permission
10as m99999@@[user.name].delg.test.com
11expect 403
12force user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
13
14as testid@aaf.att.com
15# TC_DELG1.20.21.NEG Fail to Update Delegate that doesnt exist
16expect 404
17user delegate upd @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
18
19# TC_DELG1.20.22.NEG May not create delegate for self.
20expect 406
21user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
22
23# TC_DELG1.20.23.POS May create delegate for self for tests by forcing.
24expect 201
25force user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
26
27as XX@NS
28# TC_DELG1.20.30.POS Expect Delegates for User
29expect 200
30user list delegates user @[user.name]@csp.att.com
31
32as testid@aaf.att.com
33# TC_DELG1.20.35.NEG Fail Create when exists
34expect 409
35user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
36
37as XX@NS
38# TC_DELG1.20.40.POS Expect Delegates for User
39expect 200
40user list delegates user @[user.name]@csp.att.com
41
42as testid@aaf.att.com
43# TC_DELG1.20.46.POS Update Delegate with new Date
44expect 200
45user delegate upd @[user.name]@csp.att.com @[user.name]@csp.att.com '2999-01-01 06:00'
46
47as XX@NS
48# TC_DELG1.20.82.POS Expect Delegates for User
49expect 200
50user list delegates user @[user.name]@csp.att.com
51
52# TC_DELG1.20.83.POS Expect Delegate to show up in list
53expect 200
54user list delegates delegate @[user.name]@csp.att.com
55