예제 #1
0
 /**
  * @param string $source
  * @param string $locale
  *
  * @return mixed
  */
 private function fetch($source, $locale)
 {
     $content = $this->client->translations('export', array('project_id' => $this->project, 'locale' => $locale, 'source_file_name' => $source));
     return $content;
 }
 /**
  * @expectedException \UnexpectedValueException
  * @expectedExceptionMessage Invalid authenticate data of api key or secret
  */
 public function testTranslationsStatusDetectInvalidAuthentication()
 {
     $this->api->translations('status', ['project_id' => 123]);
 }