Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
best-practical
rt-extension-commandbymail
Commits
e99f26b5
Commit
e99f26b5
authored
Feb 07, 2013
by
Ruslan Zakirov
Browse files
Test.pm for tests
parent
81ade309
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
lib/RT/Extension/CommandByMail/Test.pm
lib/RT/Extension/CommandByMail/Test.pm
+28
-0
No files found.
lib/RT/Extension/CommandByMail/Test.pm
0 → 100644
View file @
e99f26b5
use
strict
;
use
warnings
;
### after: use lib qw(@RT_LIB_PATH@);
use
lib
qw(/opt/rt4/local/lib /opt/rt4/lib)
;
package
RT::Extension::CommandByMail::
Test
;
require
RT::
Test
;
our
@ISA
=
'
RT::Test
';
sub
import
{
my
$class
=
shift
;
my
%args
=
@_
;
$args
{'
requires
'}
||=
[]
;
if
(
$args
{'
testing
'}
)
{
unshift
@
{
$args
{'
requires
'}
},
'
RT::Extension::CommandByMail
';
}
else
{
$args
{'
testing
'}
=
'
RT::Extension::CommandByMail
';
}
$class
->
SUPER::
import
(
%args
);
$class
->
export_to_level
(
1
);
require
RT::Extension::
CommandByMail
;
}
1
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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