Skip to content

Commit 15a0852

Browse files
committed
fix mocking of SparkMaxPIDController
1 parent 30068e6 commit 15a0852

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/frc/robot/lib/DummySparkMaxAnswer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class DummySparkMaxAnswer extends REVLibErrorAnswer {
2323
public static final RelativeEncoder DUMMY_ENCODER = Mockito.mock(RelativeEncoder.class, REVLibErrorAnswer.ANSWER);
2424
public static final SparkMaxAnalogSensor DUMMY_ANALOG_SENSOR = Mockito.mock(SparkMaxAnalogSensor.class, REVLibErrorAnswer.ANSWER);
2525
public static final SparkMaxLimitSwitch DUMMY_LIMIT_SWITCH = Mockito.mock(SparkMaxLimitSwitch.class, REVLibErrorAnswer.ANSWER);
26-
public static final SparkMaxPIDController DUMMY_PID_CONTROLLER = Mockito.mock(SparkMaxPIDController.class, REVLibErrorAnswer.ANSWER);
26+
public static final SparkMaxPIDController DUMMY_PID_CONTROLLER = Mockito.mock(SparkMaxPIDController.class, ANSWER);
2727

2828
@Override
2929
public Object answer(InvocationOnMock invocation) throws Throwable {

0 commit comments

Comments
 (0)