Skip to content

Commit

Permalink
fix: remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Sep 23, 2024
1 parent 5b0235e commit ddf7aff
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions tests/tracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package easypost_test

import (
"reflect"
"strconv"
"strings"

"github.com/EasyPost/easypost-go/v4"
Expand Down Expand Up @@ -63,26 +62,6 @@ func (c *ClientTests) TestTrackerAll() {
}
}

func (c *ClientTests) TestTrackerCreateList() {
client := c.TestClient()
assert, require := c.Assert(), c.Require()

trackingCodeParam := make(map[string]interface{})
trackingCodes := []string{"EZ1000000001", "EZ1000000002", "EZ1000000003"}

for i := range trackingCodes {
trackingCodeParam[strconv.Itoa(i)] = map[string]string{
"tracking_code": trackingCodes[i],
}
}

response, err := client.CreateTrackerList(trackingCodeParam)
require.NoError(err)

// This endpoint returns nothing, so we assert the function returns true
assert.True(response)
}

func (c *ClientTests) TestTrackersGetNextPage() {
client := c.TestClient()
assert, require := c.Assert(), c.Require()
Expand Down

0 comments on commit ddf7aff

Please sign in to comment.