Test transaction result maybe null

This commit is contained in:
sinabs 2018-08-08 14:59:25 +08:00
parent 1a9784da30
commit 6d59d3d372

View File

@ -457,7 +457,7 @@ class EthApiTest extends TestCase
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue($transaction !== null);
$this->assertTrue($transaction == null);
});
}
@ -474,7 +474,7 @@ class EthApiTest extends TestCase
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue($transaction !== null);
$this->assertTrue($transaction == null);
});
}
@ -508,7 +508,7 @@ class EthApiTest extends TestCase
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue($transaction !== null);
$this->assertTrue($transaction == null);
});
}