blob: 2dec8bf3fad04ec729fe0c751beb3745bd529c5f [file] [log] [blame]
# TC_DELG1.20.10.NEG Cannot create delegate with unknown user ID
expect 404
user delegate add aa111q@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
# TC_DELG1.20.11.NEG Cannot Create Delegate with unknown delegate
expect 404
user delegate add @[user.name]@csp.att.com aa111q@csp.att.com '2099-12-31 06:00'
# TC_DELG1.20.20.NEG May not change user, no delegate permission
as m99999@@[user.name].delg.test.com
expect 403
force user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
as testid@aaf.att.com
# TC_DELG1.20.21.NEG Fail to Update Delegate that doesnt exist
expect 404
user delegate upd @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
# TC_DELG1.20.22.NEG May not create delegate for self.
expect 406
user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
# TC_DELG1.20.23.POS May create delegate for self for tests by forcing.
expect 201
force user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
as XX@NS
# TC_DELG1.20.30.POS Expect Delegates for User
expect 200
user list delegates user @[user.name]@csp.att.com
as testid@aaf.att.com
# TC_DELG1.20.35.NEG Fail Create when exists
expect 409
user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00'
as XX@NS
# TC_DELG1.20.40.POS Expect Delegates for User
expect 200
user list delegates user @[user.name]@csp.att.com
as testid@aaf.att.com
# TC_DELG1.20.46.POS Update Delegate with new Date
expect 200
user delegate upd @[user.name]@csp.att.com @[user.name]@csp.att.com '2999-01-01 06:00'
as XX@NS
# TC_DELG1.20.82.POS Expect Delegates for User
expect 200
user list delegates user @[user.name]@csp.att.com
# TC_DELG1.20.83.POS Expect Delegate to show up in list
expect 200
user list delegates delegate @[user.name]@csp.att.com