Skip to content

Commit

Permalink
re-record cassettee and add another assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen293 committed Apr 8, 2024
1 parent 81d1283 commit a4de4ef
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
63 changes: 31 additions & 32 deletions tests/cassettes/TestInsuranceRefund.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/insurance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,5 @@ func (c *ClientTests) TestInsuranceRefund() {
assert.Equal(reflect.TypeOf(&easypost.Insurance{}), reflect.TypeOf(refundInsurance))
assert.True(strings.HasPrefix(refundInsurance.ID, "ins_"))
assert.Equal("cancelled", refundInsurance.Status)
assert.Equal("Insurance was cancelled by the user.", refundInsurance.Messages[0])
}

0 comments on commit a4de4ef

Please sign in to comment.