From 864a7a1fb771913c3a594c953d4e5ae7a6328162 Mon Sep 17 00:00:00 2001 From: sc0Vu Date: Wed, 13 Dec 2017 15:55:33 +0800 Subject: [PATCH] Rename tests. --- test/unit/EthTest.php | 4 ++-- test/unit/Web3Test.php | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/test/unit/EthTest.php b/test/unit/EthTest.php index 65a75d3..35a2692 100644 --- a/test/unit/EthTest.php +++ b/test/unit/EthTest.php @@ -30,11 +30,11 @@ class EthTest extends TestCase } /** - * testSend + * testProtocolVersion * * @return void */ - public function testSend() + public function testProtocolVersion() { $eth = $this->web3->eth; diff --git a/test/unit/Web3Test.php b/test/unit/Web3Test.php index 013de51..591e460 100644 --- a/test/unit/Web3Test.php +++ b/test/unit/Web3Test.php @@ -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) {