diff options
Diffstat (limited to 'polygerrit-ui/app/elements/settings/gr-account-info/gr-account-info_test.html')
-rw-r--r-- | polygerrit-ui/app/elements/settings/gr-account-info/gr-account-info_test.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/polygerrit-ui/app/elements/settings/gr-account-info/gr-account-info_test.html b/polygerrit-ui/app/elements/settings/gr-account-info/gr-account-info_test.html index 82997a5ec3..f91277a283 100644 --- a/polygerrit-ui/app/elements/settings/gr-account-info/gr-account-info_test.html +++ b/polygerrit-ui/app/elements/settings/gr-account-info/gr-account-info_test.html @@ -1,5 +1,6 @@ <!DOCTYPE html> <!-- +@license Copyright (C) 2016 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); @@ -329,5 +330,11 @@ limitations under the License. assert.isTrue(element._hasUsernameChange); }); + + test('_hideAvatarChangeUrl', () => { + assert.equal(element._hideAvatarChangeUrl(''), 'hide'); + + assert.equal(element._hideAvatarChangeUrl('https://example.com'), ''); + }); }); </script> |