Inheritance: extends PHPUnit_Framework_TestCase
Example #1
0
 public static function setUpBeforeClass()
 {
     include 'setuptests.php';
     self::$f = FreePBX::create();
     $_REQUEST['test1'] = 1;
     $_REQUEST['test2'] = "two";
     $_REQUEST['test3'] = "3";
     $_REQUEST['test4'] = "'<>\"";
     $_REQUEST['radio'] = "radio=poot";
 }
Example #2
0
 /**
  * Set up the request method
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->method = new CliCurl();
 }
Example #3
0
 /**
  * Set up the request method
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->method = new Socket();
 }