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); |
}); |