public function setup()
 {
     parent::setup();
     $options = ['username' => env('COUCHDB_USER'), 'password' => env('COUCHDB_PASSWORD'), 'db' => env('COUCHDB_DB')];
     $this->service = new CouchDb(['name' => static::SERVICE_NAME, 'label' => 'CouchDB Database', 'description' => 'CouchDB database for testing', 'is_active' => true, 'type' => 'couchdb', 'config' => ['dsn' => env('COUCHDB_DSN'), 'options' => $options]]);
 }
 public function setup()
 {
     parent::setup();
     $options = ['username' => env('SF_USER'), 'password' => env('SF_PASSWORD'), 'db' => env('SF_DB')];
     $this->service = new SalesforceDb(['name' => static::SERVICE_NAME, 'label' => 'Salesforce Database', 'description' => 'Salesforce database for testing', 'is_active' => true, 'type' => 'salesforce_db', 'config' => ['dsn' => env('SF_DSN'), 'options' => $options]]);
 }
Beispiel #3
0
 public function setup()
 {
     parent::setup();
     $this->service = new SqlDb(['id' => 1, 'name' => static::SERVICE_NAME, 'label' => 'SQL Database', 'description' => 'SQL database for testing', 'is_active' => true, 'type' => 'sql_db', 'config' => ['dsn' => env('SQLDB_DSN'), 'username' => env('SQLDB_USER'), 'password' => env('SQLDB_PASSWORD')]]);
 }