mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
postalCode should be a string not an integer.
postalCode is defined as an Int. This means you can't define one that has a leading zero nor can you have dashes, letters, etc. This changes the data type on the server. It will still accept an int value if provided and convert it into a string. Bump the API version to 2.1. ticket 1150
This commit is contained in:
@@ -511,7 +511,7 @@ class test_user(Declarative):
|
||||
command=(
|
||||
'user_add', [user1], dict(givenname=u'Test', sn=u'User1',
|
||||
street=u'123 Maple Rd', l=u'Anytown', st=u'MD',
|
||||
telephonenumber=u'410-555-1212',)
|
||||
telephonenumber=u'410-555-1212', postalcode=u'01234-5678')
|
||||
),
|
||||
expected=dict(
|
||||
value=user1,
|
||||
@@ -532,6 +532,7 @@ class test_user(Declarative):
|
||||
street=[u'123 Maple Rd'],
|
||||
l=[u'Anytown'],
|
||||
st=[u'MD'],
|
||||
postalcode=[u'01234-5678'],
|
||||
telephonenumber=[u'410-555-1212'],
|
||||
ipauniqueid=[fuzzy_uuid],
|
||||
dn=u'uid=tuser1,cn=users,cn=accounts,' + api.env.basedn,
|
||||
|
||||
Reference in New Issue
Block a user