diff --git a/test/TestCase.php b/test/TestCase.php index ed6e437..780e377 100644 --- a/test/TestCase.php +++ b/test/TestCase.php @@ -21,6 +21,13 @@ class TestCase extends BaseTestCase */ protected $testRinkebyHost = 'https://rinkeby.infura.io/vuethexplore'; + /** + * testHost + * + * @var string + */ + protected $testHost = 'http://localhost:8545'; + /** * setUp * @@ -28,7 +35,7 @@ class TestCase extends BaseTestCase */ public function setUp() { - $web3 = new Web3($this->testRinkebyHost); + $web3 = new Web3($this->testHost); $this->web3 = $web3; } diff --git a/test/unit/ContractTest.php b/test/unit/ContractTest.php index 4f24078..538a97b 100644 --- a/test/unit/ContractTest.php +++ b/test/unit/ContractTest.php @@ -304,7 +304,6 @@ class ContractTest extends TestCase { parent::setUp(); - // $this->contract = new Contract('http://localhost:8545', $this->testAbi); $this->contract = new Contract($this->web3->provider, $this->testAbi); $this->contract->eth->accounts(function ($err, $accounts) { if ($err === null) {