Skip to content

Commit

Permalink
add some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fluency03 committed May 4, 2018
1 parent 6853e5f commit c096102
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ class BlockchainActorTest extends TestKit(ActorSystem("BlockchainActorTest")) wi
blockchainActor ! CheckBlockchainValidity
expectMsg(FailureMsg("Blockchain does not exist."))

blockchainActor ! GetLastBlock
expectMsg(None)

blockchainActor ! MineNextBlock("next", Seq.empty[String])
expectMsg(None)

Expand Down

0 comments on commit c096102

Please sign in to comment.