diff options
Diffstat (limited to 'polygerrit-ui/app/elements/admin/gr-create-pointer-dialog/gr-create-pointer-dialog_test.html')
-rw-r--r-- | polygerrit-ui/app/elements/admin/gr-create-pointer-dialog/gr-create-pointer-dialog_test.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/polygerrit-ui/app/elements/admin/gr-create-pointer-dialog/gr-create-pointer-dialog_test.html b/polygerrit-ui/app/elements/admin/gr-create-pointer-dialog/gr-create-pointer-dialog_test.html index dd7457400e..39e200a72c 100644 --- a/polygerrit-ui/app/elements/admin/gr-create-pointer-dialog/gr-create-pointer-dialog_test.html +++ b/polygerrit-ui/app/elements/admin/gr-create-pointer-dialog/gr-create-pointer-dialog_test.html @@ -1,5 +1,6 @@ <!DOCTYPE html> <!-- +@license Copyright (C) 2017 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); @@ -49,7 +50,7 @@ limitations under the License. }); test('branch created', () => { - sandbox.stub(element.$.restAPI, 'createProjectBranch', () => { + sandbox.stub(element.$.restAPI, 'createRepoBranch', () => { return Promise.resolve({}); }); @@ -69,7 +70,7 @@ limitations under the License. }); test('tag created', () => { - sandbox.stub(element.$.restAPI, 'createProjectTag', () => { + sandbox.stub(element.$.restAPI, 'createRepoTag', () => { return Promise.resolve({}); }); @@ -89,7 +90,7 @@ limitations under the License. }); test('tag created with annotations', () => { - sandbox.stub(element.$.restAPI, 'createProjectTag', () => { + sandbox.stub(element.$.restAPI, 'createRepoTag', () => { return Promise.resolve({}); }); |