Skip to content

Commit

Permalink
Update Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Jul 6, 2024
1 parent 66ff76b commit 1318178
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ricaun.Revit.UI.Tests/Extensions/RevitRibbonItemTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public void GetRibbonItem_RibbonControl_RemovePanel()
var pushButton = ribbonPanel.CreatePushButton<BaseCommand>();
ribbonPanel.Remove();
var ribbonItemRibbonControl = pushButton.GetRibbonItem_RibbonControl();
// if the panel is removed, the ribbonItem will be null
Assert.IsNull(ribbonItemRibbonControl);
}

Expand Down

0 comments on commit 1318178

Please sign in to comment.