Fix broken test
These parameters are declared incorrectly.
This commit is contained in:
parent
8a1cf8386f
commit
da49e0e0f6
|
|
@ -2,12 +2,12 @@
|
|||
<DuplicateAttributesOnElementChildComponent
|
||||
BoolAttributeBefore="true"
|
||||
StringAttributeBefore="original-text"
|
||||
UnmatchedValues="@elementValues"/>
|
||||
UnmatchedValues="elementValues"/>
|
||||
</div>
|
||||
|
||||
<div id="duplicate-on-element-override">
|
||||
<DuplicateAttributesOnElementChildComponent
|
||||
UnmatchedValues="@elementValues"
|
||||
UnmatchedValues="elementValues"
|
||||
BoolAttributeAfter="false"
|
||||
StringAttributeAfter="other-text" />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -14,10 +14,10 @@ else
|
|||
}
|
||||
|
||||
@code {
|
||||
[Parameter] public string StringAttributeBefore { get; private set; }
|
||||
[Parameter] public bool BoolAttributeBefore { get; private set; }
|
||||
[Parameter] public string StringAttributeAfter { get; private set; }
|
||||
[Parameter] public bool? BoolAttributeAfter { get; private set; }
|
||||
[Parameter] public string StringAttributeBefore { get; set; }
|
||||
[Parameter] public bool BoolAttributeBefore { get; set; }
|
||||
[Parameter] public string StringAttributeAfter { get; 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; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue