There was an error while loading. Please reload this page.
2 parents 6835bb5 + b8d96fa commit 63619dfCopy full SHA for 63619df
1 file changed
pi4micronaut-utils/src/test/java/com/opensourcewithslu/inputdevices/RFidHelperTest.java
@@ -24,8 +24,7 @@ void setUp() {
24
mockContext = Mockito.mock(Context.class);
25
mockSpiConfig = Mockito.mock(SpiConfig.class);
26
when(mockSpiConfig.channel()).thenReturn(0);
27
- when(mockSpiConfig.getBaud()).thenReturn(1_000_000);
28
- }
+ when(mockSpiConfig.baud()).thenReturn(1_000_000);
29
30
// Constructor creates RfidComponent when reset pin is provided
31
@Test
0 commit comments