From 0c4c824ae09870d50fec862b12c988fc0b86aa5b Mon Sep 17 00:00:00 2001 From: Andreas Eriksson Date: Wed, 18 Sep 2024 22:56:12 +0200 Subject: [PATCH] Fix privatenetwork/deletesegment id typo in test --- CHANGELOG.md | 2 ++ privatenetworks_test.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3e871b..7e4fa94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased +### Changed +- Fix `privatenetwork/create` and `/details` request struct. ## [8.3.0] - 2024-09-11 ### Added diff --git a/privatenetworks_test.go b/privatenetworks_test.go index 4fa3961..2e09360 100644 --- a/privatenetworks_test.go +++ b/privatenetworks_test.go @@ -140,7 +140,7 @@ func TestPrivateNetworkSegmentsDestroy(t *testing.T) { c := &mockClient{} n := PrivateNetworkService{client: c} - n.DestroySegment(context.Background(), "pn-123ab") + n.DestroySegment(context.Background(), "266979ab-1e05-4fbc-b9e0-577f31c0d2e9") assert.Equal(t, "POST", c.lastMethod, "method used is correct") assert.Equal(t, "privatenetwork/deletesegment", c.lastPath, "path used is correct")