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

            await _documentAdminAppService.PullAllAsync(new PullAllDocumentInput
            {
                ProjectId    = _testData.PorjectId,
                LanguageCode = "en",
                Version      = "1.0.0"
            });

            (await _documentRepository.FindAsync(_testData.PorjectId, "Part-I.md", "en", "1.0.0")).ShouldNotBeNull();
            (await _documentRepository.FindAsync(_testData.PorjectId, "Part-II.md", "en", "1.0.0")).ShouldNotBeNull();
        }
Beispiel #2
0
 public Task PullAllAsync(PullAllDocumentInput input)
 {
     return(_documentAdminAppService.PullAllAsync(input));
 }