Skip to content

Commit

Permalink
Fix tests in ContractBurnHTSSuite (#9572)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
  • Loading branch information
agadzhalov committed Oct 31, 2023
1 parent c1c25b0 commit 0020819
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -31,6 +31,7 @@
import static com.hederahashgraph.api.proto.java.ResponseCodeEnum.SUCCESS;

import com.esaulpaugh.headlong.abi.Address;
import com.hedera.services.bdd.junit.HapiTest;
import com.hedera.services.bdd.junit.HapiTestSuite;
import com.hedera.services.bdd.spec.HapiPropertySource;
import com.hedera.services.bdd.spec.HapiSpec;
Expand Down Expand Up @@ -85,6 +86,7 @@ List<HapiSpec> positiveSpecs() {
return List.of();
}

@HapiTest
private HapiSpec burnFungibleV1andV2WithZeroAndNegativeValues() {
final AtomicReference<Address> tokenAddress = new AtomicReference<>();
return defaultHapiSpec("burnFungibleV1andV2WithZeroAndNegativeValues")
Expand Down Expand Up @@ -148,6 +150,7 @@ private HapiSpec burnFungibleV1andV2WithZeroAndNegativeValues() {
.then(getAccountBalance(TOKEN_TREASURY).hasTokenBalance(TOKEN, 50));
}

@HapiTest
private HapiSpec burnNonFungibleV1andV2WithNegativeValues() {
final AtomicReference<Address> tokenAddress = new AtomicReference<>();
return defaultHapiSpec("burnNonFungibleV1andV2WithNegativeValues")
Expand Down

0 comments on commit 0020819

Please sign in to comment.