~samwhited/xmpp

de40e6f9107a5d25ae8c8edad9289fd0c4b12e2f — Sam Whited 3 months ago f9f7919
roster: add type to IQ response in test

Previously this didn't matter even though it was technically invalid,
but now we won't associate it with the response unless the type is
specified, causing the test to block.

Signed-off-by: Sam Whited <sam@samwhited.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M roster/roster_test.go
M roster/roster_test.go => roster/roster_test.go +1 -1
@@ 47,7 47,7 @@ var testCases = [...]struct {
}

func TestFetch(t *testing.T) {
	var IQ = stanza.IQ{ID: "123"}
	var IQ = stanza.IQ{ID: "123", Type: stanza.ResultIQ}
	for i, tc := range testCases {
		t.Run(strconv.Itoa(i), func(t *testing.T) {
			cs := xmpptest.NewClientServer(