Unit test of eth apis.

This commit is contained in:
sc0Vu 2018-01-12 16:17:59 +08:00
parent 596a3599de
commit 0a4060e6dd

View File

@ -456,7 +456,7 @@ class EthApiTest extends TestCase
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue(is_string($transaction));
$this->assertTrue($transaction !== null);
});
}
@ -473,7 +473,7 @@ class EthApiTest extends TestCase
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue(is_string($transaction));
$this->assertTrue($transaction !== null);
});
}
@ -490,7 +490,7 @@ class EthApiTest extends TestCase
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue(is_string($transaction));
$this->assertTrue($transaction !== null);
});
}
@ -507,7 +507,7 @@ class EthApiTest extends TestCase
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue(is_string($transaction));
$this->assertTrue($transaction !== null);
});
}
@ -524,7 +524,7 @@ class EthApiTest extends TestCase
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue(is_string($uncle));
$this->assertTrue($uncle !== null);
});
}
@ -541,7 +541,7 @@ class EthApiTest extends TestCase
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue(is_string($uncle));
$this->assertTrue($uncle !== null);
});
}