Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1656)

Unified Diff: Tools/GardeningServer/ui/test/ct-commit-list-tests.html

Issue 484753002: Fix exception when running Sheriff-o-Matic tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/karma.conf.js ('k') | Tools/GardeningServer/ui/test/ct-results-panel-tests.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/test/ct-commit-list-tests.html
diff --git a/Tools/GardeningServer/ui/test/ct-commit-list-tests.html b/Tools/GardeningServer/ui/test/ct-commit-list-tests.html
index 48815c9fea7a129cdc5e1b6cd60c287be869c1a1..9b18cb160be85646c9d14f53b305bdc635ab127b 100644
--- a/Tools/GardeningServer/ui/test/ct-commit-list-tests.html
+++ b/Tools/GardeningServer/ui/test/ct-commit-list-tests.html
@@ -30,11 +30,11 @@ describe('ct-commit-list', function() {
expanded: false }
];
- var CommitList = Object.create(Object);
- CommitList.prototype.repositories = function() {
- return repos;
+ list.commitList = {
+ repositories: function() {
+ return repos;
+ }
};
- list.commitList = CommitList;
setTimeout(done);
});
« no previous file with comments | « Tools/GardeningServer/karma.conf.js ('k') | Tools/GardeningServer/ui/test/ct-results-panel-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698