Rename tests.

This commit is contained in:
sc0Vu 2017-12-13 15:55:33 +08:00
parent d94d42b61e
commit 864a7a1fb7
2 changed files with 14 additions and 4 deletions

View File

@ -30,11 +30,11 @@ class EthTest extends TestCase
}
/**
* testSend
* testProtocolVersion
*
* @return void
*/
public function testSend()
public function testProtocolVersion()
{
$eth = $this->web3->eth;

View File

@ -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) {