From e7bba51bb8bb41c462873c613bc6d4cf402a58d1 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 29 Jul 2026 16:45:00 -0230 Subject: sandbox and production client constructors Previously this was a package-level configuration with Sandbox() and Production() controlling the global ApiUrl variable. Now it's controlled per-client. --- job_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'job_test.go') diff --git a/job_test.go b/job_test.go index 27b371d..cf4fc2c 100644 --- a/job_test.go +++ b/job_test.go @@ -29,7 +29,7 @@ func TestJob(t *testing.T) { shipOpt := Mail items := []Printable{printableSample} - c := newClient(t) + c := tNewClient(t) job1, err := c.Print(contact, jobEid, productionDelay, addr, shipOpt, items) require.NoError(t, err) require.NotZero(t, job1.Id) @@ -47,7 +47,7 @@ func TestJob(t *testing.T) { func TestJobs(t *testing.T) { // Create some jobs - c := newClient(t) + c := tNewClient(t) jobParams := []struct { contact string extid string -- cgit v1.2.3