You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/05/17 00:30:10 UTC

[19/50] [abbrv] git commit: [#2053] Fixed test failing due to missing mock custom field type

[#2053] Fixed test failing due to missing mock custom field type


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/f89c9c10
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/f89c9c10
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/f89c9c10

Branch: refs/heads/db/6208
Commit: f89c9c10a68184107dd4c9ab4dc41d6a6edbb6b0
Parents: ddfb987
Author: Cory Johns <cj...@slashdotmedia.com>
Authored: Mon May 13 16:23:26 2013 +0000
Committer: Cory Johns <cj...@slashdotmedia.com>
Committed: Mon May 13 16:23:26 2013 +0000

----------------------------------------------------------------------
 .../tests/unit/test_root_controller.py             |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/f89c9c10/ForgeTracker/forgetracker/tests/unit/test_root_controller.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tests/unit/test_root_controller.py b/ForgeTracker/forgetracker/tests/unit/test_root_controller.py
index 79991e9..c6c3dc1 100644
--- a/ForgeTracker/forgetracker/tests/unit/test_root_controller.py
+++ b/ForgeTracker/forgetracker/tests/unit/test_root_controller.py
@@ -80,6 +80,7 @@ def mongo_search_returning_colors_are_wrong_ticket():
 def create_colors_are_wrong_ticket():
     set_tracker_custom_fields([dict(name='_iteration_number',
                                     label='Iteration Number',
+                                    type='number',
                                     show_in_search=True)])
     ticket = create_ticket(summary="colors are wrong",
                            custom_fields=dict(_iteration_number='Iteration 1'))