Skip to content

Commit fb5dc47

Browse files
committed
Remove obsolete test
1 parent 3999fb8 commit fb5dc47

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Tests/web3swiftTests/localTests/ERC20ClassTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,4 @@ class ERC20ClassTests: LocalTestCase {
4848
XCTAssert(String(balance) == "1024")
4949
XCTAssert(allowance == 0)
5050
}
51-
52-
func testERC20ReadProperties() async throws {
53-
let (web3, _, receipt, _) = try await TestHelpers.localDeployERC20()
54-
let erc20token = ERC20.init(web3: web3, provider: web3.provider, address: receipt.contractAddress!)
55-
try await erc20token.readProperties()
56-
let decimals = erc20token.decimals()
57-
let name = erc20token.name()
58-
let symbol = erc20token.symbol()
59-
XCTAssertEqual(decimals, 18)
60-
XCTAssertEqual(name, "web3swift")
61-
XCTAssertEqual(symbol, "w3s")
62-
}
6351
}

0 commit comments

Comments
 (0)