projects
/
catagits/Catalyst-Action-REST.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix infinite recursion in tests under Catalyst 5.90040
[catagits/Catalyst-Action-REST.git]
/
t
/
lib
/
Test
/
Catalyst
/
Action
/
REST.pm
diff --git
a/t/lib/Test/Catalyst/Action/REST.pm
b/t/lib/Test/Catalyst/Action/REST.pm
index
0b992b7
..
95ed5bf
100644
(file)
--- a/
t/lib/Test/Catalyst/Action/REST.pm
+++ b/
t/lib/Test/Catalyst/Action/REST.pm
@@
-16,6
+16,8
@@
__PACKAGE__->config(
content_type_stash_key => 'serialize_content_type',
},
);
+__PACKAGE__->request_class($ENV{CAR_TEST_REQUEST_CLASS})
+ if $ENV{CAR_TEST_REQUEST_CLASS};
__PACKAGE__->setup;
__PACKAGE__->log( Test::Catalyst::Log->new )
unless __PACKAGE__->debug;