File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,6 @@ impl ServerAddress {
7070 } )
7171 }
7272
73- pub fn local_gateway ( ) -> Self {
74- Self :: new ( "http://127.0.0.1:8080" ) . unwrap ( )
75- }
76-
7773 pub fn test_rpc_api ( ) -> Self {
7874 match std:: env:: var ( "GRAPH_NODE_TEST_IPFS_URL" ) {
7975 Ok ( value) if !value. is_empty ( ) => Self :: new ( & value) . unwrap_or_else ( |e| {
@@ -187,18 +183,4 @@ mod tests {
187183
188184 assert_eq ! ( addr. to_string( ) , "https://example.com/ipfs/" ) ;
189185 }
190-
191- #[ test]
192- fn local_gateway_server_address_is_valid ( ) {
193- let addr = ServerAddress :: local_gateway ( ) ;
194-
195- assert_eq ! ( addr. to_string( ) , "http://127.0.0.1:8080/" ) ;
196- }
197-
198- #[ test]
199- fn test_rpc_api_server_address_is_valid ( ) {
200- let addr = ServerAddress :: test_rpc_api ( ) ;
201-
202- assert_eq ! ( addr. to_string( ) , "http://127.0.0.1:5001/" ) ;
203- }
204186}
You can’t perform that action at this time.
0 commit comments