Skip to content

Commit

Permalink
Issue #203: Refactor-Extensions-code-to-check-protocol-efficiently
Browse files Browse the repository at this point in the history
Fixed OsCommandExtensionTest
  • Loading branch information
SafaeAJ committed Jun 4, 2024
1 parent 974c845 commit 65a46de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ void testCheckSshNoHealthWhenMustCheckFalse() {
Optional<Boolean> result = osCommandExtension.checkProtocol(telemetryManager);

// Assert the result
assertFalse(result.get());
assertEquals(Optional.empty(),result);
}

@Test
Expand All @@ -497,7 +497,7 @@ void testCheckSshNoHealthWhenNoConfiguration() {
Optional<Boolean> result = osCommandExtension.checkProtocol(telemetryManager);

// Assert the result
assertFalse(result.get());
assertEquals(Optional.empty(),result);
}

@Test
Expand Down

0 comments on commit 65a46de

Please sign in to comment.