mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-18 05:00:03 +02:00
rename EosioContract to AtomicAsset.
This commit is contained in:
parent
1b1f601678
commit
2b0b32b5ab
4 changed files with 41 additions and 41 deletions
|
|
@ -76,19 +76,19 @@ func TestParseEosioV2Full(t *testing.T) {
|
|||
assert.Equal(t, expected.LogInfo(), api.LogInfo())
|
||||
}
|
||||
|
||||
// EosioContract
|
||||
// AtomicAsset
|
||||
// --------------------------------
|
||||
|
||||
func TestParseEosioContract(t *testing.T) {
|
||||
expected := api.NewEosioContract("http://api.contract.example.com", 5)
|
||||
func TestParseAtomicAsset(t *testing.T) {
|
||||
expected := api.NewAtomicAsset("http://api.contract.example.com", 5)
|
||||
|
||||
api, err := ParseRequest("contract|http://api.contract.example.com")
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, expected.LogInfo(), api.LogInfo())
|
||||
}
|
||||
|
||||
func TestParseEosioContractWithBlockTime(t *testing.T) {
|
||||
expected := api.NewEosioContract("http://api.contract.example.com", 256)
|
||||
func TestParseAtomicAssetWithBlockTime(t *testing.T) {
|
||||
expected := api.NewAtomicAsset("http://api.contract.example.com", 256)
|
||||
|
||||
api, err := ParseRequest("contract|http://api.contract.example.com|512")
|
||||
assert.NoError(t, err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue