public async Task PullAsync()
        {
            (await _documentRepository.FindAsync(_testData.PorjectId, "Part-I.md", "en", "1.0.0")).ShouldBeNull();

            await _documentAdminAppService.PullAsync(new PullDocumentInput
            {
                ProjectId    = _testData.PorjectId,
                Name         = "Part-I.md",
                LanguageCode = "en",
                Version      = "1.0.0"
            });

            (await _documentRepository.FindAsync(_testData.PorjectId, "Part-I.md", "en", "1.0.0")).ShouldNotBeNull();
        }
示例#2
0
 public Task PullAsync(PullDocumentInput input)
 {
     return(_documentAdminAppService.PullAsync(input));
 }