projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 82092 - updated escaping html to use encode-entities
[freeside.git]
/
FS
/
FS
/
Test.pm
diff --git
a/FS/FS/Test.pm
b/FS/FS/Test.pm
index
1f2b44b
..
3b1c092
100644
(file)
--- a/
FS/FS/Test.pm
+++ b/
FS/FS/Test.pm
@@
-211,7
+211,7
@@
and then pass the form object to L</post> to submit it.
sub form {
my $self = shift;
my $name = shift;
sub form {
my $self = shift;
my $name = shift;
- my ($form) = grep {
$_->attr('name
') eq $name } $self->forms;
+ my ($form) = grep {
($_->attr('name') || '
') eq $name } $self->forms;
$form;
}
$form;
}
@@
-259,7
+259,6
@@
sub new_customer {
last => 'Customer',
first => $first,
invoice_email => 'newcustomer@fake.freeside.biz',
last => 'Customer',
first => $first,
invoice_email => 'newcustomer@fake.freeside.biz',
- payby => 'BILL',
bill_location => $location,
ship_location => $location,
});
bill_location => $location,
ship_location => $location,
});