Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DelevoXDG committed Jan 29, 2024
1 parent e82e7aa commit f71e797
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/StarknetTests/Accounts/AccountTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class AccountTests: XCTestCase {
try await Self.devnetClient.start()
}

provider = StarknetProvider(starknetChainId: .goerli, url: Self.devnetClient.rpcUrl)!
provider = StarknetProvider(url: Self.devnetClient.rpcUrl)!
accountContractClassHash = Self.devnetClient.constants.accountContractClassHash
ethContractAddress = Self.devnetClient.constants.ethErc20ContractAddress
let accountDetails = Self.devnetClient.constants.predeployedAccount1
Expand Down
2 changes: 1 addition & 1 deletion Tests/StarknetTests/Providers/ProviderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ final class ProviderTests: XCTestCase {
}

func makeStarknetProvider(url: String) -> StarknetProviderProtocol {
StarknetProvider(starknetChainId: .goerli, url: url)!
StarknetProvider(url: url)!
}

func testRequestWithCustomURLSession() {
Expand Down

0 comments on commit f71e797

Please sign in to comment.