Skip to content

Commit be9e17b

Browse files
committed
Test fixed
1 parent eacbd71 commit be9e17b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Contentstack.Core.Unit.Tests/QueryUnitTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2437,8 +2437,8 @@ public void Query_WithTaxonomyInstance_Setup_VerifiesConfig()
24372437

24382438
// Act - Just verify setup - Taxonomy extends Query, so it has QueryInstance properties
24392439
var taxonomyType = typeof(Taxonomy);
2440-
var stackProperty = taxonomyType.GetProperty("Stack",
2441-
BindingFlags.Public | BindingFlags.Instance);
2440+
var stackProperty = taxonomyType.GetProperty("Stack",
2441+
BindingFlags.NonPublic | BindingFlags.Instance);
24422442

24432443
// Assert
24442444
Assert.NotNull(taxonomy);
@@ -2460,8 +2460,8 @@ public void Query_WithTaxonomyInstanceAndEnvironment_Setup_VerifiesConfig()
24602460

24612461
// Act - Just verify setup
24622462
var taxonomyType = typeof(Taxonomy);
2463-
var stackProperty = taxonomyType.GetProperty("Stack",
2464-
BindingFlags.Public | BindingFlags.Instance);
2463+
var stackProperty = taxonomyType.GetProperty("Stack",
2464+
BindingFlags.NonPublic | BindingFlags.Instance);
24652465

24662466
// Assert
24672467
Assert.NotNull(taxonomy);
@@ -2484,8 +2484,8 @@ public void Query_WithTaxonomyInstanceAndBranch_Setup_VerifiesConfig()
24842484

24852485
// Act - Just verify setup
24862486
var taxonomyType = typeof(Taxonomy);
2487-
var stackProperty = taxonomyType.GetProperty("Stack",
2488-
BindingFlags.Public | BindingFlags.Instance);
2487+
var stackProperty = taxonomyType.GetProperty("Stack",
2488+
BindingFlags.NonPublic | BindingFlags.Instance);
24892489

24902490
// Assert
24912491
Assert.NotNull(taxonomy);

0 commit comments

Comments
 (0)