aboutsummaryrefslogtreecommitdiffstats
path: root/cost_test.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-07-29 16:45:00 -0230
committerSam Anthony <sam@samanthony.xyz>2026-07-29 16:45:00 -0230
commite7bba51bb8bb41c462873c613bc6d4cf402a58d1 (patch)
treea94f91656e52aaf5c8edb5aed02679bae8efab11 /cost_test.go
parent95acc996fdcc6221741a3072633c5753e88d0f07 (diff)
downloadlulu-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 'cost_test.go')
-rw-r--r--cost_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cost_test.go b/cost_test.go
index a02c125..fe5da83 100644
--- a/cost_test.go
+++ b/cost_test.go
@@ -133,7 +133,7 @@ func TestUnmarshalCostResp(t *testing.T) {
}
func TestCost(t *testing.T) {
- c := newClient(t)
+ c := tNewClient(t)
items := costReqSample.Items
addr := ShippingAddress{
City: "Lübeck",