ソースを参照

Merge branch 'unstable' into feature/test

bastien 13 年 前
コミット
0f6f04be30
共有2 個のファイルを変更した3 個の追加1 個の削除を含む
  1. 1 1
      src/Muzich/CoreBundle/Entity/UsersElementsFavorites.php
  2. 2 0
      src/Muzich/CoreBundle/lib/UnitTest.php

+ 1 - 1
src/Muzich/CoreBundle/Entity/UsersElementsFavorites.php ファイルの表示

@@ -34,7 +34,7 @@ class UsersElementsFavorites
34 34
    * Cet attribut contient l'objet Element lié
35 35
    * 
36 36
    * @ORM\ManyToOne(targetEntity="Element", inversedBy="users")
37
-   * @ORM\JoinColumn(name="tag_id", referencedColumnName="id")
37
+   * @ORM\JoinColumn(name="element_id", referencedColumnName="id")
38 38
    */
39 39
   protected $element;
40 40
   

+ 2 - 0
src/Muzich/CoreBundle/lib/UnitTest.php ファイルの表示

@@ -6,6 +6,8 @@ require_once(__DIR__ . "/../../../../app/AppKernel.php");
6 6
 
7 7
 class UnitTest extends \PHPUnit_Framework_TestCase
8 8
 {
9
+    protected $_container;
10
+  
9 11
   public function __construct()
10 12
   {
11 13
     $kernel = new \AppKernel("test", true);