Skip to content

Commit

Permalink
Add TestGetSignerDescriptionShouldFailForUninitializedDevice ref fibe…
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevAlDen committed Oct 14, 2019
1 parent 513e7bb commit 3a5c02f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/hardware/sky-wallet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,15 @@ func TestGetSignerDescriptionShouldBeOk(t *testing.T) {

// Then
require.Equal(t, expectedDevDescription, devDescription)
}

func TestGetSignerDescriptionShouldFailForUninitializedDevice(t *testing.T) {
// Giving
sw := SkyWallet{}

// When
devId := sw.GetSignerDescription()

// Then
require.Equal(t, "undefined", devId)
}

0 comments on commit 3a5c02f

Please sign in to comment.