Skip to content
Snippets Groups Projects
Commit 7d25a8b8 authored by Jake Taylor's avatar Jake Taylor
Browse files

improve test

parent b529ba86
No related branches found
No related tags found
No related merge requests found
......@@ -106,5 +106,14 @@ func TestSession_GetPushNodeKeys(t *testing.T) {
if len(results) != 2 {
t.Errorf("Returned unexpected number of node keys: %d", len(results))
return
}
if results[0].TransmissionKey.Cmp(testInt) != 0 {
t.Errorf("Returned invalid transmission key: %s, Expected: %s", results[0].TransmissionKey.Text(10),
testInt.Text(10))
}
if results[0].ReceptionKey.Cmp(testInt) != 0 {
t.Errorf("Returned invalid reception key: %s, Expected: %s", results[0].TransmissionKey.Text(10),
testInt.Text(10))
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment