Пример #1
0
 /**
  * Config params `appname` and `apikey` are requred to create calls to
  * Infusionsoft API. You can get them here:
  * http://ug.infusionsoft.com/article/AA-00442/0
  */
 public function testConfig()
 {
     $options = array('appname' => $this->testConfig['appname'], 'apikey' => $this->testConfig['apikey'], 'fields' => $this->testConfig['fields']);
     $i = new Sync($options);
     $expected = $i->getConfig();
     $this->assertEquals($expected, $options);
 }