Skip to content

Commit

Permalink
chore: fix compilation after textfield renaming (#1600)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZheSun88 authored Feb 1, 2023
1 parent 22f67cd commit d110378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
import com.vaadin.flow.component.button.Button;
import com.vaadin.flow.component.html.Div;
import com.vaadin.flow.component.textfield.IntegerField;
import com.vaadin.flow.component.textfield.InternalFieldBase;
import com.vaadin.flow.component.textfield.TextField;
import com.vaadin.flow.component.textfield.TextFieldBase;
import com.vaadin.flow.dom.Element;
import com.vaadin.testbench.unit.ComponentTesterTest.Span;
import com.vaadin.testbench.unit.ElementConditionsTest.TextComponent;
Expand Down Expand Up @@ -493,7 +493,7 @@ void withValue_expectedNull_findsAllComponent() {
rootElement.appendChild(otherField.getElement());

Assertions.assertIterableEquals(List.of(targetField, otherField),
$(InternalFieldBase.class).withValue(null).all());
$(TextFieldBase.class).withValue(null).all());
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/
@Tests({ TextField.class, PasswordField.class, EmailField.class,
BigDecimalField.class })
public class TextFieldTester<T extends InternalFieldBase<T, V>, V>
public class TextFieldTester<T extends TextFieldBase<T, V>, V>
extends ComponentTester<T> {

/**
Expand Down

0 comments on commit d110378

Please sign in to comment.