Fix broken test

These parameters are declared incorrectly.
This commit is contained in:
Ryan Nowak 2019-08-02 13:24:20 -07:00 committed by Ryan Nowak
parent 8a1cf8386f
commit da49e0e0f6
2 changed files with 7 additions and 7 deletions

View File

@ -2,12 +2,12 @@
<DuplicateAttributesOnElementChildComponent <DuplicateAttributesOnElementChildComponent
BoolAttributeBefore="true" BoolAttributeBefore="true"
StringAttributeBefore="original-text" StringAttributeBefore="original-text"
UnmatchedValues="@elementValues"/> UnmatchedValues="elementValues"/>
</div> </div>
<div id="duplicate-on-element-override"> <div id="duplicate-on-element-override">
<DuplicateAttributesOnElementChildComponent <DuplicateAttributesOnElementChildComponent
UnmatchedValues="@elementValues" UnmatchedValues="elementValues"
BoolAttributeAfter="false" BoolAttributeAfter="false"
StringAttributeAfter="other-text" /> StringAttributeAfter="other-text" />
</div> </div>

View File

@ -14,10 +14,10 @@ else
} }
@code { @code {
[Parameter] public string StringAttributeBefore { get; private set; } [Parameter] public string StringAttributeBefore { get; set; }
[Parameter] public bool BoolAttributeBefore { get; private set; } [Parameter] public bool BoolAttributeBefore { get; set; }
[Parameter] public string StringAttributeAfter { get; private set; } [Parameter] public string StringAttributeAfter { get; set; }
[Parameter] public bool? BoolAttributeAfter { get; private set; } [Parameter] public bool? BoolAttributeAfter { get; set; }
[Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object> UnmatchedValues { get; private set; } [Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object> UnmatchedValues { get; set; }
} }