Skip to content

Commit d5f2d91

Browse files
committed
CSHARP-3915: Use SkippableFact and SkippableTheory when using RequireServer.
1 parent 5c0dbae commit d5f2d91

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/MongoDB.Driver.Tests/Jira/CSharp3915Tests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace MongoDB.Driver.Tests.Jira
2828
public class CSharp3915Tests : Linq3IntegrationTest
2929
{
3030
// this example is from: https://www.mongodb.com/docs/v5.2/reference/operator/aggregation/densify
31-
[Theory]
31+
[SkippableTheory]
3232
[InlineData(false)]
3333
[InlineData(true)]
3434
public void Densify_time_series_data_example_using_aggregate_should_work(bool usingExpressions)
@@ -76,7 +76,7 @@ public void Densify_time_series_data_example_using_aggregate_should_work(bool us
7676
}
7777

7878
// this example is from: https://www.mongodb.com/docs/v5.2/reference/operator/aggregation/densify
79-
[Fact]
79+
[SkippableFact]
8080
public void Densify_time_series_data_example_using_linq_should_work()
8181
{
8282
RequireServer.Check().Supports(Feature.DensifyStage);
@@ -112,7 +112,7 @@ public void Densify_time_series_data_example_using_linq_should_work()
112112
}
113113

114114
// this example is from: https://www.mongodb.com/docs/v5.2/reference/operator/aggregation/densify
115-
[Theory]
115+
[SkippableTheory]
116116
[InlineData(false)]
117117
[InlineData(true)]
118118
public void Densify_the_full_range_of_values_example_using_aggregate_should_work(bool usingExpressions)
@@ -164,7 +164,7 @@ public void Densify_the_full_range_of_values_example_using_aggregate_should_work
164164
}
165165

166166
// this example is from: https://www.mongodb.com/docs/v5.2/reference/operator/aggregation/densify
167-
[Fact]
167+
[SkippableFact]
168168
public void Densify_the_full_range_of_values_example_using_linq_should_work()
169169
{
170170
RequireServer.Check().Supports(Feature.DensifyStage);
@@ -203,7 +203,7 @@ public void Densify_the_full_range_of_values_example_using_linq_should_work()
203203
}
204204

205205
// this example is from: https://www.mongodb.com/docs/v5.2/reference/operator/aggregation/densify
206-
[Theory]
206+
[SkippableTheory]
207207
[InlineData(false)]
208208
[InlineData(true)]
209209
public void Densify_values_within_each_partition_example_using_aggregate_should_work(bool usingExpressions)
@@ -247,7 +247,7 @@ public void Densify_values_within_each_partition_example_using_aggregate_should_
247247
}
248248

249249
// this example is from: https://www.mongodb.com/docs/v5.2/reference/operator/aggregation/densify
250-
[Fact]
250+
[SkippableFact]
251251
public void Densify_values_within_each_partition_example_using_linq_should_work()
252252
{
253253
RequireServer.Check().Supports(Feature.DensifyStage);

0 commit comments

Comments
 (0)