Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
d1bfa2fe
Commit
d1bfa2fe
authored
Mar 15, 2020
by
IKEDA Soji
Browse files
Make Test::Net::LDAP::Util optional
parent
ebb3d01b
Changes
1
Hide whitespace changes
Inline
Side-by-side
t/DataSource_LDAP2.t
View file @
d1bfa2fe
...
...
@@ -6,15 +6,16 @@ use warnings;
use
Data::
Dumper
;
use
English
qw(-no_match_vars)
;
use
Test::
More
;
BEGIN
{
eval
'
use Sympa::Test::MockLDAP
';
}
use
Sympa::Test::
MockLDAP
;
unless
(
eval
'
Test::Net::LDAP::Util->can("ldap_mockify")
')
{
plan
skip_all
=>
'
Test::Net::LDAP required
';
}
$
Data::Dumper::
Terse
=
1
;
$
Data::Dumper::
Indent
=
0
;
BEGIN
{
use_ok
('
Sympa::DataSource::LDAP2
');
}
use_ok
('
Sympa::DataSource::LDAP2
');
my
$fake_list
=
bless
{
name
=>
'
list1
',
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment