You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/02/04 22:27:05 UTC

[6/16] git commit: [#5708] ticket:262 Fixed failing test due to discussion handling when moving the ticket

[#5708] ticket:262 Fixed failing test due to discussion handling when moving the ticket


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

Branch: refs/heads/cj/5705
Commit: 7cf996a5554ca880da0a9327180ec88a643899e8
Parents: 7e17d22
Author: Igor Bondarenko <je...@gmail.com>
Authored: Wed Jan 30 11:59:31 2013 +0000
Committer: Dave Brondsema <db...@geek.net>
Committed: Thu Jan 31 21:58:47 2013 +0000

----------------------------------------------------------------------
 .../forgetracker/tests/unit/test_ticket_model.py   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/7cf996a5/ForgeTracker/forgetracker/tests/unit/test_ticket_model.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tests/unit/test_ticket_model.py b/ForgeTracker/forgetracker/tests/unit/test_ticket_model.py
index 474a870..dc2647e 100644
--- a/ForgeTracker/forgetracker/tests/unit/test_ticket_model.py
+++ b/ForgeTracker/forgetracker/tests/unit/test_ticket_model.py
@@ -163,7 +163,7 @@ class TestTicketModel(TrackerTestWithModel):
         assert_equal(post.text, message)
 
         post = Post.query.find(dict(text='test comment')).first()
-        assert_equal(post.thread.discussion.app_config_id, app2.config._id)
+        assert_equal(post.thread.discussion_id, app2.config.discussion_id)
         assert_equal(post.thread.app_config_id, app2.config._id)
         assert_equal(post.app_config_id, app2.config._id)