Skip to content

Commit

Permalink
(GH-3503) Fix Test for default Left/Right window commands overlay beh…
Browse files Browse the repository at this point in the history
…avior

The new default behavior is Never, so this test should test for this too.
  • Loading branch information
punker76 committed May 29, 2019
1 parent ca9c76c commit ea9b991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mahapps.Metro.Tests/Tests/MetroWindowTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public async Task CheckDefaultOverlayBehaviors()
var window = await WindowHelpers.CreateInvisibleWindowAsync<MetroWindow>();

Assert.Equal(OverlayBehavior.Never, window.IconOverlayBehavior);
Assert.Equal(WindowCommandsOverlayBehavior.HiddenTitleBar, window.LeftWindowCommandsOverlayBehavior);
Assert.Equal(WindowCommandsOverlayBehavior.HiddenTitleBar, window.RightWindowCommandsOverlayBehavior);
Assert.Equal(WindowCommandsOverlayBehavior.Never, window.LeftWindowCommandsOverlayBehavior);
Assert.Equal(WindowCommandsOverlayBehavior.Never, window.RightWindowCommandsOverlayBehavior);
Assert.Equal(OverlayBehavior.Always, window.WindowButtonCommandsOverlayBehavior);
}

Expand Down

0 comments on commit ea9b991

Please sign in to comment.