diff --git a/Perspex.Layout.UnitTests/FullLayoutTests.cs b/Perspex.Layout.UnitTests/FullLayoutTests.cs index e460d1fc3a..97de989dbe 100644 --- a/Perspex.Layout.UnitTests/FullLayoutTests.cs +++ b/Perspex.Layout.UnitTests/FullLayoutTests.cs @@ -75,6 +75,8 @@ namespace Perspex.Layout.UnitTests var window = new Window() { + Width = 800, + Height = 600, Content = (scrollViewer = new ScrollViewer { Width = 200, @@ -137,7 +139,6 @@ namespace Perspex.Layout.UnitTests var windowImpl = new Mock(); globalStyles.Setup(x => x.Styles).Returns(theme); - windowImpl.Setup(x => x.ClientSize).Returns(new Size(800, 600)); l.RegisterConstant(new Mock().Object, typeof(IInputManager)); l.RegisterConstant(globalStyles.Object, typeof(IGlobalStyles));