Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Integration Test for Component and Route property binding #5

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

sc-ivanlieckens
Copy link
Collaborator

@sc-ivanlieckens sc-ivanlieckens commented Aug 5, 2024

Description / Motivation

The integration test for Component and Route property binding mistakenly had BeEmpty() instead of Be(). This incorrectly made the integration test pass since the Razor View was invalid. It was using the asp-for TagHelper attribute to attempt to render the values. However the Model's properties are of type string? which do not have an OOTB TagHelper for the h3 or p tags. With the view fixed this test now properly passes and behaves as expected.

Testing

  • The Unit & Intergration tests are passing.
  • I have added the necesary tests to cover my changes.

Terms

@sc-ivanlieckens sc-ivanlieckens added the bug Something isn't working label Aug 5, 2024
@sc-ivanlieckens sc-ivanlieckens added this to the Beta Release milestone Aug 5, 2024
@sc-ivanlieckens sc-ivanlieckens self-assigned this Aug 5, 2024
@robearlam robearlam merged commit b6387b9 into main Aug 6, 2024
3 checks passed
@robearlam robearlam deleted the fix/component-property-binding-test branch August 6, 2024 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants