root/trunk/test/frontend/tempActionsTest.php

Revision 2, 479 bytes (checked in by fabien, 6 years ago)

initial import

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 <?php
2
3 class tempActionsWebBrowserTest extends UnitTestCase
4 {
5   private
6     $browser = null;
7
8   public function setUp ()
9   {
10     // create a new test browser
11     $this->browser = new sfTestBrowser();
12     $this->browser->initialize('hostname');
13   }
14
15   public function tearDown ()
16   {
17     $this->browser->shutdown();
18   }
19
20   public function test_simple()
21   {
22     $url = '/temp/index';
23     $html = $this->browser->get($url);
24     $this->assertWantedPattern('/temp/', $html);
25   }
26 }
27
28 ?>
Note: See TracBrowser for help on using the browser.