@@ -24,7 +24,7 @@ class ERC721Tests: XCTestCase {
2424
2525 override func setUp( ) {
2626 super. setUp ( )
27- client = EthereumHttpClient ( url: URL ( string: TestConfig . clientUrl) !)
27+ client = EthereumHttpClient ( url: URL ( string: TestConfig . clientUrl) !, network : TestConfig . network )
2828 erc721 = ERC721 ( client: client)
2929 }
3030
@@ -111,7 +111,7 @@ class ERC721MetadataTests: XCTestCase {
111111
112112 override func setUp( ) {
113113 super. setUp ( )
114- client = EthereumHttpClient ( url: URL ( string: TestConfig . clientUrl) !)
114+ client = EthereumHttpClient ( url: URL ( string: TestConfig . clientUrl) !, network : TestConfig . network )
115115 erc721 = ERC721Metadata ( client: client, metadataSession: URLSession . shared)
116116 }
117117
@@ -163,7 +163,7 @@ class ERC721EnumerableTests: XCTestCase {
163163
164164 override func setUp( ) {
165165 super. setUp ( )
166- client = EthereumHttpClient ( url: URL ( string: TestConfig . clientUrl) !)
166+ client = EthereumHttpClient ( url: URL ( string: TestConfig . clientUrl) !, network : TestConfig . network )
167167 erc721 = ERC721Enumerable ( client: client)
168168 }
169169
@@ -211,20 +211,20 @@ class ERC721EnumerableTests: XCTestCase {
211211class ERC721WebSocketTests : ERC721Tests {
212212 override func setUp( ) {
213213 super. setUp ( )
214- client = EthereumWebSocketClient ( url: URL ( string: TestConfig . wssUrl) !, configuration: TestConfig . webSocketConfig)
214+ client = EthereumWebSocketClient ( url: URL ( string: TestConfig . wssUrl) !, configuration: TestConfig . webSocketConfig, network : TestConfig . network )
215215 }
216216}
217217
218218class ERC721MetadataWebSocketTests : ERC721MetadataTests {
219219 override func setUp( ) {
220220 super. setUp ( )
221- client = EthereumWebSocketClient ( url: URL ( string: TestConfig . wssUrl) !, configuration: TestConfig . webSocketConfig)
221+ client = EthereumWebSocketClient ( url: URL ( string: TestConfig . wssUrl) !, configuration: TestConfig . webSocketConfig, network : TestConfig . network )
222222 }
223223}
224224
225225class ERC721EnumerableWebSocketTests : ERC721EnumerableTests {
226226 override func setUp( ) {
227227 super. setUp ( )
228- client = EthereumWebSocketClient ( url: URL ( string: TestConfig . wssUrl) !, configuration: TestConfig . webSocketConfig)
228+ client = EthereumWebSocketClient ( url: URL ( string: TestConfig . wssUrl) !, configuration: TestConfig . webSocketConfig, network : TestConfig . network )
229229 }
230230}
0 commit comments