diff --git a/test/unit/EthApiTest.php b/test/unit/EthApiTest.php index 8cac1c4..db8c094 100644 --- a/test/unit/EthApiTest.php +++ b/test/unit/EthApiTest.php @@ -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); }); }