projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
start of placeholder code path, type binding not working right yet
[freeside.git]
/
rt
/
t
/
api
/
attachment_filename.t
diff --git
a/rt/t/api/attachment_filename.t
b/rt/t/api/attachment_filename.t
index
bcbfe00
..
aa8acd2
100644
(file)
--- a/
rt/t/api/attachment_filename.t
+++ b/
rt/t/api/attachment_filename.t
@@
-1,3
+1,5
@@
+use strict;
+use warnings;
use RT::Test tests => 5;
use MIME::Entity;
my $ticket = RT::Ticket->new(RT->SystemUser);
use RT::Test tests => 5;
use MIME::Entity;
my $ticket = RT::Ticket->new(RT->SystemUser);
@@
-8,18
+10,18
@@
my $mime = MIME::Entity->build(
);
$mime->attach(
);
$mime->attach(
- Path => 'share/
html/NoAuth
/images/bpslogo.png',
+ Path => 'share/
static
/images/bpslogo.png',
Type => 'image/png',
);
$mime->attach(
Type => 'image/png',
);
$mime->attach(
- Path => 'share/
html/NoAuth
/images/bpslogo.png',
+ Path => 'share/
static
/images/bpslogo.png',
Type => 'image/png',
Filename => 'bpslogo.png',
);
$mime->attach(
Type => 'image/png',
Filename => 'bpslogo.png',
);
$mime->attach(
- Path => 'share/
html/NoAuth
/images/bpslogo.png',
+ Path => 'share/
static
/images/bpslogo.png',
Filename => 'images/bpslogo.png',
Type => 'image/png',
);
Filename => 'images/bpslogo.png',
Type => 'image/png',
);