| Index: Tools/GardeningServer/scripts/model_unittests.js
|
| diff --git a/Tools/GardeningServer/scripts/model_unittests.js b/Tools/GardeningServer/scripts/model_unittests.js
|
| index e2bea969121ff8aa214d979c81d7f4f1590bc01c..e53a5ad4671c79f34a38eb5f6226d84e3f034e1b 100644
|
| --- a/Tools/GardeningServer/scripts/model_unittests.js
|
| +++ b/Tools/GardeningServer/scripts/model_unittests.js
|
| @@ -128,7 +128,7 @@ asyncTest("updateRecentCommits", 2, function() {
|
| };
|
|
|
| simulator.runTest(function() {
|
| - model.updateRecentCommits(function() {
|
| + model.updateRecentCommits().then(function() {
|
| var recentCommits = model.state.recentCommits;
|
| delete model.state.recentCommits;
|
| $.each(recentCommits, function(index, commitData) {
|
| @@ -180,7 +180,7 @@ asyncTest("commitDataListForRevisionRange", 6, function() {
|
| };
|
|
|
| simulator.runTest(function() {
|
| - model.updateRecentCommits(function() {
|
| + model.updateRecentCommits().then(function() {
|
| function extractBugIDs(commitData)
|
| {
|
| return commitData.bugID;
|
|
|