Ejemplo n.º 1
0
 /**
  * Testing runScript() with wrong message parameters sent
  * 
  * @return void
  */
 public function testRunScriptWithWrongParameters()
 {
     $db = new Connection();
     $db->open('localhost:8184', '', '', '', '');
     $result = $db->runScript();
     $this->assertFalse($result, 'Failed to return false with a connection failed');
 }
Ejemplo n.º 2
0
 /**
  * Testing runScript() with wrong message parameters sent
  * 
  * @return void
  */
 public function testRunScriptWithWrongParameters()
 {
     $db = new Connection();
     $db->setSerializer(Messages::SERIALIZER_JSON);
     $db->open('localhost:8184', '', '', '', '');
     $result = $db->runScript();
     $this->assertFalse($result, 'Failed to return false with a connection failed');
 }