A few cleanup of the old setup tests
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 23 Apr 2006 23:37:32 +0000 (23:37 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 23 Apr 2006 23:37:32 +0000 (23:37 +0000)
docs/phpunit/ApplicationController.php

index 902a52f4dfb35d9d6000696c83e118de68204666..6de9129b580e59c94dbeb4006301c98f55f0cc7e 100644 (file)
@@ -1,20 +1,17 @@
 <?php
 
+// load test harness
 require_once('PHPUnit2/Framework/TestCase.php');
 
+// load piggy
+chdir('./../../');
+require_once('./includes/Applicationcontroller.php');
+
 class ApplicationControllerTest extends PHPUnit2_Framework_TestCase
 {
        protected $fixture;
        
-       public function setUp()
-       {
-               $this->fixture = array();       
-       }
-       
-       public function testNewArrayIsEmpty()
-       {
-               throw new PHPUnit2_Framework_IncompleteTestError;
-       }
+       public function setUp() {}
 }
 
 ?>
\ No newline at end of file