Skip to content

Commit

Permalink
Fix privatenetwork/deletesegment id typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
norrland committed Sep 19, 2024
1 parent dea4aba commit 0c4c824
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion privatenetworks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0c4c824

Please sign in to comment.