~samwhited/xmpp

19df071a3947e3cabad40a844323e99bc4fcddad — Sam Whited a month ago 8c2fda1
ping: re-enable Ejabberd integration tests

Issue #68 appears to have been fixed by the recent refactor to the
internal/integration packages. This commit re-enables ejabberd tests on
the ping package which is the last step in marking the issue as
resolved.

Fixes #68

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

M ping/integration_test.go
M ping/integration_test.go => ping/integration_test.go +7 -0
@@ 14,6 14,7 @@ import (
	"mellium.im/sasl"
	"mellium.im/xmpp"
	"mellium.im/xmpp/internal/integration"
	"mellium.im/xmpp/internal/integration/ejabberd"
	"mellium.im/xmpp/internal/integration/prosody"
	"mellium.im/xmpp/ping"
)


@@ 24,6 25,12 @@ func TestIntegrationSendPing(t *testing.T) {
		prosody.ListenC2S(),
	)
	prosodyRun(integrationSendPing)

	ejabberdRun := ejabberd.Test(context.TODO(), t,
		integration.Log(),
		ejabberd.ListenC2S(),
	)
	ejabberdRun(integrationSendPing)
}

func integrationSendPing(ctx context.Context, t *testing.T, cmd *integration.Cmd) {