Пример #1
0
        public async Task LibraryApi_SaveMetadataDocument(string projectPath)
        {
            await RestierTestHelpers.WriteCurrentApiMetadata <LibraryApi, LibraryContext>(Path.Combine(projectPath, baselineFolder));

            File.Exists($"{Path.Combine(projectPath, baselineFolder)}{typeof(LibraryApi).Name}-ApiMetadata.txt").Should().BeTrue();
        }
Пример #2
0
        public async Task StoreApi_SaveMetadataDocument()
        {
            await RestierTestHelpers.WriteCurrentApiMetadata <StoreApi, DbContext>(relativePath);

            File.Exists($"{relativePath}{typeof(StoreApi).Name}-ApiMetadata.txt").Should().BeTrue();
        }