Rename tests.
This commit is contained in:
parent
d94d42b61e
commit
864a7a1fb7
@ -30,11 +30,11 @@ class EthTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* testSend
|
||||
* testProtocolVersion
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testSend()
|
||||
public function testProtocolVersion()
|
||||
{
|
||||
$eth = $this->web3->eth;
|
||||
|
||||
|
@ -60,11 +60,11 @@ class Web3Test extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* testSend
|
||||
* testClientVersion
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testSend()
|
||||
public function testClientVersion()
|
||||
{
|
||||
$web3 = $this->web3;
|
||||
|
||||
@ -78,6 +78,16 @@ class Web3Test extends TestCase
|
||||
$this->fail($version->error->message);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* testSha3
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testSha3()
|
||||
{
|
||||
$web3 = $this->web3;
|
||||
|
||||
$web3->sha3($this->testHex, function ($err, $hash) {
|
||||
if ($err !== null) {
|
||||
|
Loading…
Reference in New Issue
Block a user