diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-07-29 16:45:00 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-07-29 16:45:00 -0230 |
| commit | e7bba51bb8bb41c462873c613bc6d4cf402a58d1 (patch) | |
| tree | a94f91656e52aaf5c8edb5aed02679bae8efab11 /job_test.go | |
| parent | 95acc996fdcc6221741a3072633c5753e88d0f07 (diff) | |
| download | lulu-e7bba51bb8bb41c462873c613bc6d4cf402a58d1.zip | |
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.
Diffstat (limited to 'job_test.go')
| -rw-r--r-- | job_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |