Skip to content

Commit

Permalink
chore: spotless fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kammerlo committed May 6, 2024
1 parent 76248a1 commit 99e08a0
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
package org.cardanofoundation.rosetta.api.network;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import org.springframework.beans.factory.annotation.Autowired;
import org.openapitools.client.model.NetworkIdentifier;

import org.junit.jupiter.api.Test;

import lombok.RequiredArgsConstructor;
import org.apache.tomcat.util.bcel.Const;
import org.cardanofoundation.rosetta.api.IntegrationTest;
import org.cardanofoundation.rosetta.api.network.service.NetworkService;
import org.cardanofoundation.rosetta.common.exception.ApiException;
import org.cardanofoundation.rosetta.common.exception.ExceptionFactory;
import org.cardanofoundation.rosetta.common.util.Constants;
import org.cardanofoundation.rosetta.common.util.RosettaConstants.RosettaErrorType;
import org.junit.jupiter.api.Test;
import org.openapitools.client.model.NetworkIdentifier;
import org.springframework.beans.factory.annotation.Autowired;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;

public class NetworkServiceImplTest extends IntegrationTest {

Expand Down Expand Up @@ -44,7 +43,6 @@ public void verifyWrongBlockchainTest() {
assertEquals(RosettaErrorType.INVALID_BLOCKCHAIN.getCode(), apiException.getError().getCode());
}


private NetworkIdentifier createNetworkIdentifier(String blockchain, String network) {
return NetworkIdentifier.builder()
.blockchain(blockchain)
Expand Down

0 comments on commit 99e08a0

Please sign in to comment.