Skip to content

Commit

Permalink
fix tests (#8672)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephaneDelcroix authored Aug 4, 2022
1 parent f83ca72 commit 4508838
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controls/tests/Core.UnitTests/BindingUnitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1851,6 +1851,8 @@ public void SetBindingContextAfterInnerBindingsAndContextBinding()
[Test]
public void Convert()
{
System.Threading.Thread.CurrentThread.CurrentCulture = System.Threading.Thread.CurrentThread.CurrentUICulture = CultureInfo.InvariantCulture;

var slider = new Slider();
var vm = new MockViewModel { Text = "0.5" };
slider.BindingContext = vm;
Expand Down
2 changes: 2 additions & 0 deletions src/Controls/tests/Core.UnitTests/TypedBindingUnitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1254,6 +1254,8 @@ public void SetBindingContextAfterInnerBindingsAndContextBinding()
[Test]
public void Convert()
{
System.Threading.Thread.CurrentThread.CurrentCulture = System.Threading.Thread.CurrentThread.CurrentUICulture = CultureInfo.InvariantCulture;

var slider = new Slider();
var vm = new MockViewModel { Text = "0.5" };
slider.BindingContext = vm;
Expand Down

0 comments on commit 4508838

Please sign in to comment.