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/fixtures.yml';
13
if (!include(dirname(__FILE__).'/../bootstrap/functional.php'))
14
{
15
  return;
16
}
17
 
18
$b = new sfTestFunctional(new sfBrowser(), null, array('propel' => 'sfTesterPropel'));
19
 
20
ArticlePeer::doDeleteAll();
21
$c = CategoryPeer::doSelectOne(new Criteria());
22
$hash = spl_object_hash($c);
23
 
24
$b->
25
  get('/pooling/addArticleButDontSave/category_id/'.$c->getId())->
26
  with('propel')->check('Article', null, 0)->
27
 
28
  get('/pooling/addArticleAndSave/category_id/'.$c->getId())->
29
  with('propel')->check('Article', null, 1)
30
;