Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
/*
4
 * This file is part of the symfony package.
5
 * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
 
11
$app = 'frontend';
12
$fixtures = 'fixtures';
13
require_once(dirname(__FILE__).'/../bootstrap/functional.php');
14
 
15
$browser = new sfTestFunctional(new sfBrowser());
16
 
17
$browser->get('/articles/redirectToShow')
18
  ->with('response')->begin()
19
    ->isRedirected()
20
  ->end()
21
  ->followRedirect()
22
  ->with('request')->begin()
23
    ->isParameter('module', 'articles')
24
    ->isParameter('action', 'show')
25
  ->end()
26
;