Skip to content

Commit 2731d6b

Browse files
committed
Unit test case failure fixed
1 parent f973752 commit 2731d6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

maui/tests/Syncfusion.Maui.Toolkit.UnitTest/Buttons/SfChipsUnitTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ private SolidColorBrush GetSolidColorBrush(string colorString)
437437
public void CalculateHeight_ShouldReturnHeight_WhenHeightConstraintIsPositiveInfinity()
438438
{
439439
var chip = new SfChip();
440-
SetPrivateField(chip, "textHeightPadding", 5);
440+
SetPrivateField(chip, "_textHeightPadding", 5);
441441
SetNonPublicProperty(chip, "IsCreatedInternally", false);
442442
chip.ImageSize = 10;
443443
chip.ShowIcon = true;
@@ -450,7 +450,7 @@ public void CalculateHeight_ShouldReturnHeight_WhenHeightConstraintIsPositiveInf
450450
public void CalculateHeight_ShouldReturnHeight_WhenHeightConstraintIsZero()
451451
{
452452
var chip = new SfChip();
453-
SetPrivateField(chip, "textHeightPadding", 5);
453+
SetPrivateField(chip, "_textHeightPadding", 5);
454454
SetNonPublicProperty(chip, "IsCreatedInternally", false);
455455
chip.ImageSize = 10;
456456
chip.ShowIcon = true;
@@ -463,7 +463,7 @@ public void CalculateHeight_ShouldReturnHeight_WhenHeightConstraintIsZero()
463463
public void CalculateHeight_ShouldReturnHeight_WhenIsCreatedInternallyIsTrue()
464464
{
465465
var chip = new SfChip();
466-
SetPrivateField(chip, "textHeightPadding", 5);
466+
SetPrivateField(chip, "_textHeightPadding", 5);
467467
SetNonPublicProperty(chip, "IsCreatedInternally", true);
468468
chip.ImageSize = 10;
469469
chip.ShowIcon = true;

0 commit comments

Comments
 (0)