Skip to content

Commit

Permalink
remove redundant variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Rwolfe-Nava committed Jul 18, 2024
1 parent 4b91367 commit dadf0a5
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,7 @@ void testReturnsTrueIfCodingNotExist() {

@Test
void testReturnsTrueIfCodingNotValid() {
String codeSystem = "invalid_system";
String codeValue = "invalid_value";
assertTrue(IdentifierUtils.checkCodingIsNotValid(codeSystem, codeValue));
assertTrue(IdentifierUtils.checkCodingIsNotValid("invalid_system", "invalid_value"));
}

@Test
Expand Down Expand Up @@ -333,14 +331,12 @@ void testReturnsFalseIfExtensionsExists() {

@Test
void testReturnsFalseIfURLValid() {
String url = IdentifierUtils.CURRENCY_IDENTIFIER;
assertFalse(IdentifierUtils.checkCurrencyUrlIsNotValid(url));
assertFalse(IdentifierUtils.checkCurrencyUrlIsNotValid(IdentifierUtils.CURRENCY_IDENTIFIER));
}

@Test
void testReturnsTrueIfURLInvalid() {
String url = "invalid_url";
assertTrue(IdentifierUtils.checkCurrencyUrlIsNotValid(url));
assertTrue(IdentifierUtils.checkCurrencyUrlIsNotValid("invalid_url"));
}

@Test
Expand Down

0 comments on commit dadf0a5

Please sign in to comment.