File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Component \Ldap \LdapClient ;
15
15
16
+ /**
17
+ * @requires extension ldap
18
+ */
16
19
class LdapClientTest extends \PHPUnit_Framework_TestCase
17
20
{
18
- protected function setUp ()
19
- {
20
- if (!extension_loaded ('ldap ' )) {
21
- $ this ->markTestSkipped ('The ldap extension is not available ' );
22
- }
23
- }
24
-
25
21
/**
26
22
* @dataProvider provideLdapEscapeValues
27
23
*/
Original file line number Diff line number Diff line change 19
19
"php" : " >=5.5.9" ,
20
20
"ext-ldap" : " *"
21
21
},
22
- "require-dev" : {
23
- "symfony/phpunit-bridge" : " ~2.8|~3.0"
24
- },
25
22
"autoload" : {
26
23
"psr-4" : { "Symfony\\ Component\\ Ldap\\ " : " " }
27
24
},
Original file line number Diff line number Diff line change 25
25
</exclude >
26
26
</whitelist >
27
27
</filter >
28
+
29
+ <listeners >
30
+ <listener class =" Symfony\Bridge\PhpUnit\SkippedTestsListener" />
31
+ </listeners >
28
32
</phpunit >
You can’t perform that action at this time.
0 commit comments