Fix failing tests

This commit is contained in:
Mickael Remond
2019-11-04 16:32:29 +01:00
parent 3e94880916
commit ce05c3226c
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func TestGenerateIqId(t *testing.T) {
}
iq = stanza.NewIQ(stanza.Attrs{})
if iq.Id != "1" {
if iq.Id == "" {
t.Error("NewIQ did not generate an Id")
}