Skip to content

Commit b8d96fa

Browse files
FDelporteCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Frank Delporte <frank@webtechie.be>
1 parent e122a7a commit b8d96fa

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pi4micronaut-utils/src/test/java/com/opensourcewithslu/inputdevices/RFidHelperTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ void setUp() {
2424
mockContext = Mockito.mock(Context.class);
2525
mockSpiConfig = Mockito.mock(SpiConfig.class);
2626
when(mockSpiConfig.channel()).thenReturn(0);
27-
when(mockSpiConfig.getBaud()).thenReturn(1_000_000);
28-
}
27+
when(mockSpiConfig.baud()).thenReturn(1_000_000);
2928

3029
// Constructor creates RfidComponent when reset pin is provided
3130
@Test

0 commit comments

Comments
 (0)