summaryrefslogtreecommitdiff
path: root/modules/digibug/tests/Digibug_Controller_Test.php
AgeCommit message (Collapse)Author
2009-07-23Test cleanup:Bharat Mediratta
1) Specifically catch Kohana_404_Exception and let other exceptions pass, the test framework will report them as errors 2) Simplify some testing idioms 3) Change malicious address to a legal addr
2009-07-23Fix for ticket #502Tim Almdal
This patch allows users with only view permission to request fullsize prints using Digibug. There is now a Digibug config file that contains the IP ranges of the Digibug servers. Any request for the full size image via the print proxy must come from within the ranges in the config file. The reason for the "if (!Test_Mode) {..." is that the print proxy makes a call to Kohana::close_buffers, which closes all the output buffers and then we see the image download on the console which messes up the test output.