From ac7d007e7cde01e978f3d7522f1b20993a7c620d Mon Sep 17 00:00:00 2001 From: Ihnat Klimchuk Date: Sun, 5 Jun 2022 22:21:59 +0300 Subject: [PATCH] Return test --- .../Features/GenericReplicatorTests.cs | 6 +++--- .../Features/MongoDbCompositeIdTests.cs | 8 ++++---- .../Features/SourceRepositoryTests.cs | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/Notidar.Mongo2Elastic.Tests/Features/GenericReplicatorTests.cs b/tests/Notidar.Mongo2Elastic.Tests/Features/GenericReplicatorTests.cs index 00aaa0c..3e9e8c2 100644 --- a/tests/Notidar.Mongo2Elastic.Tests/Features/GenericReplicatorTests.cs +++ b/tests/Notidar.Mongo2Elastic.Tests/Features/GenericReplicatorTests.cs @@ -29,7 +29,7 @@ public GenericReplicatorTests(MongoDbFixture mongoDbFixture, ElasticsearchFixtur .Build(); } - [Fact(Skip = "TEST")] + [Fact] public async Task GenericReplicator_ReplicateAlreadExistingDocument_Success() { await MongoDbFixture.ResetReplicationStateAsync("persons"); @@ -66,7 +66,7 @@ await Assertion.Eventually(async () => }); } - [Fact(Skip = "TEST")] + [Fact] public async Task GenericReplicator_ReplicateAddedDocument_Success() { await MongoDbFixture.ResetReplicationStateAsync("persons"); @@ -92,7 +92,7 @@ await Assertion.Eventually(async () => }); } - [Fact(Skip = "TEST")] + [Fact] public async Task GenericReplicator_ReplicateDeletedDocument_Success() { await MongoDbFixture.ResetReplicationStateAsync("persons"); diff --git a/tests/Notidar.Mongo2Elastic.Tests/Features/MongoDbCompositeIdTests.cs b/tests/Notidar.Mongo2Elastic.Tests/Features/MongoDbCompositeIdTests.cs index 0768a90..ea5f92e 100644 --- a/tests/Notidar.Mongo2Elastic.Tests/Features/MongoDbCompositeIdTests.cs +++ b/tests/Notidar.Mongo2Elastic.Tests/Features/MongoDbCompositeIdTests.cs @@ -28,7 +28,7 @@ public MongoDbCompositeIdTests(MongoDbFixture mongoDbFixture, ElasticsearchFixtu .Build(); } - [Fact(Skip = "TEST")] + [Fact] public async Task GenericReplicator_ReplicateAlreadExistingDocument_WithCompositeId_Success() { await MongoDbFixture.ResetReplicationStateAsync("composite-id-persons"); @@ -47,7 +47,7 @@ await Assertion.Eventually(async () => }); } - [Fact(Skip = "TEST")] + [Fact] public async Task GenericReplicator_ReplicateAddedDocument_WithCompositeId_Success() { await MongoDbFixture.ResetReplicationStateAsync("composite-id-persons"); @@ -73,7 +73,7 @@ await Assertion.Eventually(async () => }); } - [Fact(Skip = "TEST")] + [Fact] public async Task GenericReplicator_ReplicateDeletedDocument_WithCompositeId_Success() { await MongoDbFixture.ResetReplicationStateAsync("composite-id-persons"); @@ -100,7 +100,7 @@ await Assertion.Eventually(async () => }); } - [Fact(Skip = "TEST")] + [Fact] public async Task GenericReplicator_ReplicateDocumentMultipleUpdates_WithCompositeId_Success() { await MongoDbFixture.ResetReplicationStateAsync("composite-id-persons"); diff --git a/tests/Notidar.Mongo2Elastic.Tests/Features/SourceRepositoryTests.cs b/tests/Notidar.Mongo2Elastic.Tests/Features/SourceRepositoryTests.cs index 66ec19f..f5b22e6 100644 --- a/tests/Notidar.Mongo2Elastic.Tests/Features/SourceRepositoryTests.cs +++ b/tests/Notidar.Mongo2Elastic.Tests/Features/SourceRepositoryTests.cs @@ -18,7 +18,7 @@ public SourceRepositoryTests(MongoDbFixture mongoDbFixture, ElasticsearchFixture { } - [Fact(Skip = "TEST")] + [Fact] public async Task SourceRepository_GetDocumentsAsync_UseExcludeProjection() { var sourceRepository = new SourceRepository( @@ -51,7 +51,7 @@ public async Task SourceRepository_GetDocumentsAsync_UseExcludeProjection() } } - [Fact(Skip = "TEST")] + [Fact] public async Task SourceRepository_TryGetStreamAsync_UseExcludeProjection() { var sourceRepository = new SourceRepository(