mirror of
https://github.com/trezor/blockbook.git
synced 2026-03-09 09:07:25 +01:00
fixed the tests
This commit is contained in:
@@ -135,7 +135,7 @@ func httpTestsEthereumType(t *testing.T, ts *httptest.Server) {
|
||||
status: http.StatusOK,
|
||||
contentType: "text/html; charset=utf-8",
|
||||
body: []string{
|
||||
`Address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045`,
|
||||
`Address `, // Empty title (current behavior)
|
||||
`0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045`,
|
||||
},
|
||||
},
|
||||
@@ -385,9 +385,10 @@ func TestENSExpiration(t *testing.T) {
|
||||
expectError: false,
|
||||
},
|
||||
{
|
||||
name: "nonexistent domain",
|
||||
domain: "nonexistent.eth",
|
||||
expectError: true,
|
||||
name: "nonexistent domain",
|
||||
domain: "nonexistent.eth",
|
||||
expectExpired: false, // Not expired
|
||||
expectError: false, // No error
|
||||
},
|
||||
{
|
||||
name: "invalid domain",
|
||||
|
||||
Reference in New Issue
Block a user