Inheritance: extends PHPUnit_Framework_TestCase
Esempio n. 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";
 }
Esempio n. 2
0
 /**
  * Set up the request method
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->method = new CliCurl();
 }
Esempio n. 3
0
 /**
  * Set up the request method
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->method = new Socket();
 }