|
@@ -151,7 +151,7 @@ class TagReadTest extends UnitTest
|
151
|
151
|
$rtags = array('Electro', 'Hardcore', 'Hardtek', 'Metal');
|
152
|
152
|
|
153
|
153
|
$tags = $this->getTagsNamesForQuery($this->getDoctrine()->getRepository('MuzichCoreBundle:User')
|
154
|
|
- ->getElementsTags($bux->getId())
|
|
154
|
+ ->getElementsTags($bux->getId(), $bux->getId())
|
155
|
155
|
);
|
156
|
156
|
|
157
|
157
|
$this->assertEquals($rtags, $tags);
|
|
@@ -160,7 +160,7 @@ class TagReadTest extends UnitTest
|
160
|
160
|
$rtags = array('Beatbox', 'Chanteuse', 'Dubstep', 'Medieval');
|
161
|
161
|
|
162
|
162
|
$tags = $this->getTagsNamesForQuery($this->getDoctrine()->getRepository('MuzichCoreBundle:User')
|
163
|
|
- ->getElementsTags($joelle->getId())
|
|
163
|
+ ->getElementsTags($joelle->getId(), $joelle->getId())
|
164
|
164
|
);
|
165
|
165
|
|
166
|
166
|
$this->assertEquals($rtags, $tags);
|
|
@@ -169,7 +169,7 @@ class TagReadTest extends UnitTest
|
169
|
169
|
$rtags = array('Hardtek', 'Psytrance', 'Tribe');
|
170
|
170
|
|
171
|
171
|
$tags = $this->getTagsNamesForQuery($this->getDoctrine()->getRepository('MuzichCoreBundle:User')
|
172
|
|
- ->getElementsTags($paul->getId())
|
|
172
|
+ ->getElementsTags($paul->getId(), $paul->getId())
|
173
|
173
|
);
|
174
|
174
|
|
175
|
175
|
$this->assertEquals($rtags, $tags);
|
|
@@ -186,7 +186,7 @@ class TagReadTest extends UnitTest
|
186
|
186
|
$rtags = array('Hardtek');
|
187
|
187
|
|
188
|
188
|
$tags = $this->getTagsNamesForQuery($this->getDoctrine()->getRepository('MuzichCoreBundle:UsersElementsFavorites')
|
189
|
|
- ->getTags($bux->getId())
|
|
189
|
+ ->getTags($bux->getId(), $bux->getId())
|
190
|
190
|
);
|
191
|
191
|
|
192
|
192
|
$this->assertEquals($rtags, $tags);
|
|
@@ -195,7 +195,7 @@ class TagReadTest extends UnitTest
|
195
|
195
|
$rtags = null;
|
196
|
196
|
|
197
|
197
|
$tags = $this->getTagsNamesForQuery($this->getDoctrine()->getRepository('MuzichCoreBundle:UsersElementsFavorites')
|
198
|
|
- ->getTags($joelle->getId())
|
|
198
|
+ ->getTags($joelle->getId(), $joelle->getId())
|
199
|
199
|
);
|
200
|
200
|
|
201
|
201
|
$this->assertEquals($rtags, $tags);
|
|
@@ -204,7 +204,7 @@ class TagReadTest extends UnitTest
|
204
|
204
|
$rtags = array('Hardtek', 'Tribe');
|
205
|
205
|
|
206
|
206
|
$tags = $this->getTagsNamesForQuery($this->getDoctrine()->getRepository('MuzichCoreBundle:UsersElementsFavorites')
|
207
|
|
- ->getTags($paul->getId())
|
|
207
|
+ ->getTags($paul->getId(), $paul->getId())
|
208
|
208
|
);
|
209
|
209
|
|
210
|
210
|
$this->assertEquals($rtags, $tags);
|