Browse Source

bux fix: Il manquait un use dans les SiteFactory.

bastien 13 years ago
parent
commit
00dc55aa9c

+ 6 - 2
app/phpunit.xml.dist View File

@@ -15,8 +15,10 @@
15 15
 
16 16
     <testsuites>
17 17
         <testsuite name="Project Test Suite">
18
-            <directory>../src/*/*Bundle/Tests</directory>
19
-            <directory>../src/*/Bundle/*Bundle/Tests</directory>
18
+            <!--<directory>../src/*/*Bundle/Tests</directory>-->
19
+            <directory>../src/Muzich/CoreBundle/Tests/Controller</directory>
20
+            <directory>../src/Muzich/CoreBundle/Tests/ElementFactory</directory>
21
+            <directory>../src/Muzich/CoreBundle/Tests/Searcher</directory>
20 22
         </testsuite>
21 23
     </testsuites>
22 24
 
@@ -26,6 +28,7 @@
26 28
     </php>
27 29
     -->
28 30
 
31
+    <!--
29 32
     <filter>
30 33
         <whitelist>
31 34
             <directory>../src</directory>
@@ -37,5 +40,6 @@
37 40
             </exclude>
38 41
         </whitelist>
39 42
     </filter>
43
+    -->
40 44
 
41 45
 </phpunit>

+ 2 - 0
src/Muzich/CoreBundle/ElementFactory/Site/JamendoFactory.php View File

@@ -2,6 +2,8 @@
2 2
 
3 3
 namespace Muzich\CoreBundle\ElementFactory\Site;
4 4
 
5
+use Muzich\CoreBundle\ElementFactory\Site\base\BaseFactory;
6
+
5 7
 /**
6 8
  * 
7 9
  *

+ 2 - 0
src/Muzich/CoreBundle/ElementFactory/Site/Son2TeufFactory.php View File

@@ -2,6 +2,8 @@
2 2
 
3 3
 namespace Muzich\CoreBundle\ElementFactory\Site;
4 4
 
5
+use Muzich\CoreBundle\ElementFactory\Site\base\BaseFactory;
6
+
5 7
 /**
6 8
  * 
7 9
  *

+ 2 - 0
src/Muzich/CoreBundle/ElementFactory/Site/SoundCloudFactory.php View File

@@ -2,6 +2,8 @@
2 2
 
3 3
 namespace Muzich\CoreBundle\ElementFactory\Site;
4 4
 
5
+use Muzich\CoreBundle\ElementFactory\Site\base\BaseFactory;
6
+
5 7
 /**
6 8
  * 
7 9
  *

+ 0 - 1
src/Muzich/CoreBundle/Tests/Controller/HomeControllerTest.php View File

@@ -19,7 +19,6 @@ class HomeControllerTest extends FunctionalTest
19 19
     $this->exist('form[action="'.($url = $this->generateUrl('element_add')).'"]');
20 20
     $this->exist('form[action="'.$url.'"] input[id="element_add_name"]');
21 21
     $this->exist('form[action="'.$url.'"] input[id="element_add_url"]');
22
-    $this->exist('form[action="'.$url.'"] select[id="element_add_group"]');
23 22
     $this->exist('form[action="'.$url.'"] input[type="submit"]');
24 23
     
25 24
     // Présence du formulaire de filtrage