Browse Source

Fix failing test.

Steven Kirk 5 years ago
parent
commit
c6540c1bf2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/Avalonia.Controls.UnitTests/ComboBoxTests.cs

+ 1 - 0
tests/Avalonia.Controls.UnitTests/ComboBoxTests.cs

@@ -40,6 +40,7 @@ namespace Avalonia.Controls.UnitTests
                 Items = items,
                 SelectedIndex = 0,
             };
+            var root = new TestRoot(target);
 
             var rectangle = target.GetValue(ComboBox.SelectionBoxItemProperty) as Rectangle;
             Assert.NotNull(rectangle);