Example #1
0
 /**
  * Convinence function to get a client which uses a graph by default.
  * @param  string          $endpoint The address of the server.
  * @param  string          $username The username.
  * @param  string          $password The password.
  * @param  string          $graph    The optional name of the graph to manage.
  * @param  string          $database The optional database to use.
  * @return \Paradox\Client
  */
 protected function getClient($endpoint = null, $username = null, $password = null, $graph = null, $database = null)
 {
     if (!$endpoint) {
         $endpoint = $this->getDefaultEndpoint();
     }
     if (!$username) {
         $username = $this->getDefaultUsername();
     }
     if (!$password) {
         $password = $this->getDefaultPassword();
     }
     if (!$graph) {
         $graph = $this->graphName;
     }
     return parent::getClient($endpoint, $username, $password, $graph);
 }
 public function setUp()
 {
     $this->makePosts();
     $this->testClass = new \wpfos\classes\Importer(array("logger" => $this->getLogger(), "wordpress" => $this->getWordPress(), "diff" => $this->getDiff()));
     parent::setup();
 }
Example #3
0
 public function execute()
 {
     parent::execute();
     return null;
 }