/usr/share/php/tests/Horde_Url/Horde/Url/RedirectTest.php is in php-horde-url 2.2.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <?php
/**
* @author Michael Slusarz <slusarz@horde.org>
* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
* @category Horde
* @package Url
* @subpackage UnitTests
*/
class Horde_Url_RedirectTest extends PHPUnit_Framework_TestCase
{
public function testEmptyRedirect()
{
$url = new Horde_Url('');
try {
$url->redirect();
$this->fail();
} catch (Horde_Url_Exception $e) {}
}
}
|