$localeId = '13604ec993beefcdaba732812cdb828c';
$query =
[ 'file_format' => 'symfony_xliff',
'include_empty_translations' => '1',
'tags' => 'messages',
'format_options' =>
[ 'enclose_in_cdata' => '1',
],
'fallback_locale_id' => 'de',
];
$queryString =
$this->
mergeQueryString(null,
$query, true
);
$this->
assertSame('GET',
$method);
$this->
assertSame('https://api.phrase.com/api/v2/projects/1/locales/'.
$localeId.'/download?'.
$queryString,
$url);
$this->
assertNotContains('If-None-Match: W/"625d11cf081b1697cbc216edf6ebb13c"',
$options['headers'
]);
$this->
assertArrayHasKey('query',
$options);
$this->
assertSame($query,
$options['query'
]);
return new MockResponse();
},
];