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
 
15
 
16
     <testsuites>
16
     <testsuites>
17
         <testsuite name="Project Test Suite">
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
         </testsuite>
22
         </testsuite>
21
     </testsuites>
23
     </testsuites>
22
 
24
 
26
     </php>
28
     </php>
27
     -->
29
     -->
28
 
30
 
31
+    <!--
29
     <filter>
32
     <filter>
30
         <whitelist>
33
         <whitelist>
31
             <directory>../src</directory>
34
             <directory>../src</directory>
37
             </exclude>
40
             </exclude>
38
         </whitelist>
41
         </whitelist>
39
     </filter>
42
     </filter>
43
+    -->
40
 
44
 
41
 </phpunit>
45
 </phpunit>

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

2
 
2
 
3
 namespace Muzich\CoreBundle\ElementFactory\Site;
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
 
2
 
3
 namespace Muzich\CoreBundle\ElementFactory\Site;
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
 
2
 
3
 namespace Muzich\CoreBundle\ElementFactory\Site;
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
     $this->exist('form[action="'.($url = $this->generateUrl('element_add')).'"]');
19
     $this->exist('form[action="'.($url = $this->generateUrl('element_add')).'"]');
20
     $this->exist('form[action="'.$url.'"] input[id="element_add_name"]');
20
     $this->exist('form[action="'.$url.'"] input[id="element_add_name"]');
21
     $this->exist('form[action="'.$url.'"] input[id="element_add_url"]');
21
     $this->exist('form[action="'.$url.'"] input[id="element_add_url"]');
22
-    $this->exist('form[action="'.$url.'"] select[id="element_add_group"]');
23
     $this->exist('form[action="'.$url.'"] input[type="submit"]');
22
     $this->exist('form[action="'.$url.'"] input[type="submit"]');
24
     
23
     
25
     // Présence du formulaire de filtrage
24
     // Présence du formulaire de filtrage