projects
/
catagits/Test-WWW-Mechanize-Catalyst.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added test to address rt #36442
[catagits/Test-WWW-Mechanize-Catalyst.git]
/
t
/
lib
/
Catty
/
Controller
/
Root.pm
diff --git
a/t/lib/Catty/Controller/Root.pm
b/t/lib/Catty/Controller/Root.pm
index
d7cb3b7
..
4d74605
100644
(file)
--- a/
t/lib/Catty/Controller/Root.pm
+++ b/
t/lib/Catty/Controller/Root.pm
@@
-137,5
+137,12
@@
sub user_agent : Global {
}
+# per https://rt.cpan.org/Ticket/Display.html?id=36442
+sub bad_content_encoding :Global {
+ my($self, $c) = @_;
+ $c->res->content_encoding('duff');
+ $c->res->body('foo');
+}
+
1;