Skip to content

Commit

Permalink
GH-87 :: fix a sign in widget view component unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikag2 committed Dec 2, 2024
1 parent 339d5b7 commit c34ecbb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public async Task BuildWidgetViewModel_WhenUserSetsRedirectPage_SetsRedirectUrl_
[Fact]
public async Task BuildWidgetViewModel_WhenUserDoesNOTSetRedirectPage_SetsRedirectUrl_ToRoot()
{
httpRequestServiceMock.Setup(x => x.GetBaseUrlWithLanguage()).Returns(ROOT_URL);
var viewModel = await viewComponent.BuildWidgetViewModel(referenceProperties);
Assert.Equal(ROOT_URL, viewModel.RedirectUrl);
}
Expand Down

0 comments on commit c34ecbb

Please sign in to comment.