Fix the node and relation tests from when the users with data public=false were disallowed from editing. Needed extra fixtures.

This commit is contained in:
Shaun McDonald 2009-04-27 11:57:58 +00:00
parent 0b6d9ce877
commit f47ba4fb23
8 changed files with 137 additions and 28 deletions

View file

@ -4,7 +4,7 @@ class NodeTagTest < Test::Unit::TestCase
api_fixtures
def test_tag_count
assert_equal 6, NodeTag.count
assert_equal 7, NodeTag.count
node_tag_count(:visible_node, 1)
node_tag_count(:invisible_node, 1)
node_tag_count(:used_node_1, 1)

View file

@ -4,7 +4,7 @@ class OldNodeTest < Test::Unit::TestCase
api_fixtures
def test_old_node_tag_count
assert_equal 8, OldNodeTag.count, "Unexpected number of fixtures loaded."
assert_equal 9, OldNodeTag.count, "Unexpected number of fixtures loaded."
end
def test_length_key_valid