Handle both ways the UI passes in booleans (#500)

* Handle both ways the UI passes in booleans

* fix the JS test

* Quote the value
This commit is contained in:
gbrodman 2020-03-02 12:49:09 -05:00 committed by GitHub
parent e8ff4081a9
commit fec806ef8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 7 deletions

View file

@ -335,7 +335,8 @@ describe("contact settings test", function() {
visibleInWhoisAsAdmin: false,
visibleInWhoisAsTech: false,
visibleInDomainWhoisAsAbuse: false,
types: 'ADMIN'
types: 'ADMIN',
allowedToSetRegistryLockPassword: 'false'
};
}