Files

23 lines
362 B
Go
Raw Permalink Normal View History

2026-03-26 16:59:49 -05:00
//go:build integration
package onspring_test
import (
"context"
"testing"
)
func TestPingIntegration(t *testing.T) {
loadEnvFile(t)
t.Run("Get should be able to connect to the API", func(t *testing.T) {
client := createClient(t)
err := client.Ping.Get(context.Background())
if err != nil {
t.Errorf("Expected no error, got %v", err)
}
})
}