Skip to content

Commit

Permalink
Match unit test field to updated field name.
Browse files Browse the repository at this point in the history
  • Loading branch information
kruegersp authored Apr 24, 2024
1 parent 55953c8 commit 5299ebc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void testMessageReceive() throws Exception {

// Setup the registration receiver
CarmaCloudRegistrationReceiver receiver = new CarmaCloudRegistrationReceiver();
FieldSetter.setField(receiver, receiver.getClass().getDeclaredField("m_oSrvr"), MockServer);
FieldSetter.setField(receiver, receiver.getClass().getDeclaredField("srvr"), MockServer);
receiver.run(); // multi-threading not needed here

// Verify that the message was received correctly
Expand Down

0 comments on commit 5299ebc

Please sign in to comment.