# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1306502539 -7200
#      Fri May 27 15:22:19 2011 +0200
# Branch stable
# Node ID 165811b890b2570f2e768fa112047245d3c4ea59
# Parent  193a1a27586044884db3a48c5cedd04473aaa7fe
fix tests

diff --git a/test/data/bootstrap_cubes b/test/data/bootstrap_cubes
new file mode 100644
--- /dev/null
+++ b/test/data/bootstrap_cubes
@@ -0,0 +1,1 @@
+card
diff --git a/test/unittest_card.py b/test/unittest_card.py
--- a/test/unittest_card.py
+++ b/test/unittest_card.py
@@ -25,7 +25,7 @@
 
     def test_card_role_create(self):
         self.assertEqual(rest_publish(self.context(), ':card:`index`'),
-                          '<p><a class="reference" href="http://testing.fr/cubicweb/view?etype=Card&amp;wikiid=index&amp;vid=creation">index</a></p>\n')
+                          '<p><a class="reference" href="http://testing.fr/cubicweb/view?etype=Card&amp;vid=creation&amp;wikiid=index">index</a></p>\n')
 
     def test_card_role_link(self):
         self.request().create_entity('Card', wikiid=u'index', title=u'Site index page', synopsis=u'yo')