/** * 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'); }
/** * 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'); }