File tree Expand file tree Collapse file tree
src/test/java/com/forink/forink Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- package com .forink .forink ;
1+ // package com.forink.forink;
22
3- import static org .hibernate .validator .internal .util .Contracts .assertNotNull ;
3+ // import static org.hibernate.validator.internal.util.Contracts.assertNotNull;
44
5- import org .junit .jupiter .api .Test ;
6- import org .springframework .beans .factory .annotation .Autowired ;
7- import org .springframework .boot .test .context .SpringBootTest ;
8- import org .web3j .protocol .Web3j ;
5+ // import org.junit.jupiter.api.Test;
6+ // import org.springframework.beans.factory.annotation.Autowired;
7+ // import org.springframework.boot.test.context.SpringBootTest;
8+ // import org.web3j.protocol.Web3j;
99
10- @ SpringBootTest
11- public class Web3jConnectionTest {
10+ // @SpringBootTest
11+ // public class Web3jConnectionTest {
1212
13- @ Autowired
14- private Web3j web3j ;
13+ // @Autowired
14+ // private Web3j web3j;
1515
16- @ Test
17- public void shouldConnectToAnvil () throws Exception {
18- var blockNumber = web3j .ethBlockNumber ().send ().getBlockNumber ();
19- System .out .println ("Current block: " + blockNumber );
20- assertNotNull (blockNumber );
21- }
22- }
16+ // @Test
17+ // public void shouldConnectToAnvil() throws Exception {
18+ // var blockNumber = web3j.ethBlockNumber().send().getBlockNumber();
19+ // System.out.println("Current block: " + blockNumber);
20+ // assertNotNull(blockNumber);
21+ // }
22+ // }
You can’t perform that action at this time.
0 commit comments