Browse Source

test fix: ElementFactoryTest

bastien 13 years ago
parent
commit
3496304ddf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Muzich/CoreBundle/Tests/ElementFactory/ElementFactoryTest.php

+ 1 - 1
src/Muzich/CoreBundle/Tests/ElementFactory/ElementFactoryTest.php View File

@@ -29,7 +29,7 @@ class ElementFactoryTest extends UnitTest
29 29
         
30 30
     $element = new Element();
31 31
     $element->setName('Mon bel element');
32
-    $element->setTags(array($hardtek->getId(), $tribe->getId()));
32
+    $element->setTags(json_encode(array($hardtek->getId(), $tribe->getId())));
33 33
     $element->setUrl('http://www.youtube.com/watch?v=WC8qb_of04E');
34 34
     
35 35
     $factory = new ElementManager($element, $r->getEntityManager(), $this->_container);