Skip to content

Commit

Permalink
Test transaction result maybe null
Browse files Browse the repository at this point in the history
  • Loading branch information
sinabs committed Aug 8, 2018
1 parent 1a9784d commit 6d59d3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/EthApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ public function testGetTransactionByHash()
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue($transaction !== null);
$this->assertTrue($transaction == null);
});
}

Expand All @@ -474,7 +474,7 @@ public function testGetTransactionByBlockHashAndIndex()
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue($transaction !== null);
$this->assertTrue($transaction == null);
});
}

Expand Down Expand Up @@ -508,7 +508,7 @@ public function testGetTransactionReceipt()
if ($err !== null) {
return $this->assertTrue($err !== null);
}
$this->assertTrue($transaction !== null);
$this->assertTrue($transaction == null);
});
}

Expand Down

0 comments on commit 6d59d3d

Please sign in to comment.