fix
This commit is contained in:
parent
0ce6e84380
commit
940c072711
2 changed files with 3 additions and 3 deletions
|
@ -33,6 +33,6 @@ public class DimmableStateTests {
|
|||
this.dimmableState.setDevice(d);
|
||||
this.dimmableState.setIntensity(30);
|
||||
this.dimmableState.apply();
|
||||
assertEquals(30, this.dimmableState.getDevice().getIntensity());
|
||||
assertEquals(30, d.getIntensity());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,11 +12,11 @@ import org.junit.jupiter.api.Test;
|
|||
@DisplayName("Curtains tests")
|
||||
public class StateTests {
|
||||
|
||||
private DimmableState<DimmableLight> state;
|
||||
private DimmableState state;
|
||||
|
||||
@BeforeEach
|
||||
public void createState() {
|
||||
this.state = new DimmableState<>();
|
||||
this.state = new DimmableState();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in a new issue