Skip to content

Commit

Permalink
fix: Addressing review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
  • Loading branch information
kselveliev committed Sep 4, 2024
1 parent 5b81010 commit 33d8dac
Showing 1 changed file with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
class ContractCallServicePrecompileHistoricalTest extends AbstractContractCallServiceTest {

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void isTokenFrozen(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -96,7 +96,7 @@ void isTokenFrozen(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void isTokenFrozenWithAlias(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -123,7 +123,7 @@ void isTokenFrozenWithAlias(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void isKycGranted(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -150,7 +150,7 @@ void isKycGranted(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void isKycGrantedWithAlias(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -177,7 +177,7 @@ void isKycGrantedWithAlias(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void isKycGrantedForNFT(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -203,7 +203,7 @@ void isKycGrantedForNFT(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void isKycGrantedForNFTWithAlias(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -229,7 +229,7 @@ void isKycGrantedForNFTWithAlias(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void isTokenAddress(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -246,7 +246,7 @@ void isTokenAddress(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void isTokenAddressNFT(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -262,7 +262,7 @@ void isTokenAddressNFT(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getDefaultKycToken(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -285,7 +285,7 @@ void getDefaultKycToken(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getDefaultKycNFT(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -301,7 +301,7 @@ void getDefaultKycNFT(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getTokenType(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -318,7 +318,7 @@ void getTokenType(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getTokenTypeNFT(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -334,7 +334,7 @@ void getTokenTypeNFT(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getTokenDefaultFreeze(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -357,7 +357,7 @@ void getTokenDefaultFreeze(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getNFTDefaultFreeze(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand All @@ -384,7 +384,7 @@ void getNFTDefaultFreeze(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getCustomFeesForTokenWithFixedFee(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -424,7 +424,7 @@ void getCustomFeesForTokenWithFixedFee(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getCustomFeesForTokenWithFractionalFee(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -468,7 +468,7 @@ void getCustomFeesForTokenWithFractionalFee(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getCustomFeesForTokenWithRoyaltyFee(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -514,7 +514,7 @@ void getCustomFeesForTokenWithRoyaltyFee(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getExpiryForToken(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -547,7 +547,7 @@ void getExpiryForToken(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getApproved(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -579,7 +579,7 @@ void getApproved(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getAllowanceForToken(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -610,7 +610,7 @@ void getAllowanceForToken(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void isApprovedForAllNFT(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -638,7 +638,7 @@ void isApprovedForAllNFT(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getFungibleTokenInfo(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -691,7 +691,7 @@ void getFungibleTokenInfo(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getNonFungibleTokenInfo(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -759,7 +759,7 @@ void getNonFungibleTokenInfo(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getTokenInfoFungible(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down Expand Up @@ -807,7 +807,7 @@ void getTokenInfoFungible(long blockNumber) throws Exception {
}

@ParameterizedTest
@CsvSource({"50", "49"})
@ValueSource(longs = {50, 49})
void getTokenInfoNonFungible(long blockNumber) throws Exception {
// Given
final var historicalRange = setUpHistoricalContext(blockNumber);
Expand Down

0 comments on commit 33d8dac

Please sign in to comment.