mirror of
https://github.com/brunofontes/Memsource-API.git
synced 2025-11-17 02:30:54 -03:00
Include job download source and target files
This commit is contained in:
@@ -12,4 +12,22 @@ final class JobsTest extends TestCase
|
||||
$this->expectException(\Exception::class);
|
||||
$api->jobs()->list('invalidProjectUid', []);
|
||||
}
|
||||
|
||||
public function testDownloadTargetFileReturnsNull()
|
||||
{
|
||||
$api = new Memsource('fakeToken');
|
||||
$this->assertEquals(
|
||||
null,
|
||||
$api->jobs()->downloadTargetFile('projUid', 'jobUid', 'filename.xliff')
|
||||
);
|
||||
}
|
||||
|
||||
public function testDownloadOriginalFileReturnsNull()
|
||||
{
|
||||
$api = new Memsource('fakeToken');
|
||||
$this->assertEquals(
|
||||
null,
|
||||
$api->jobs()->downloadOriginalFile('projUid', 'jobUid', 'filename.xliff')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user