Skip to content

Commit

Permalink
DE-934 Setup tests for a new site
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpierog committed Aug 13, 2024
1 parent 3b73c7b commit 786d358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/site_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ func (s *SiteSuite) TestReadSite() {
s.NoError(err)

respSite := resp.Data.Site
s.Equal(86564, *respSite.Id, "ID")
s.Equal(87358, *respSite.Id, "ID")
s.Equal("Golang SDK", *respSite.Name, "Name")
s.Equal("go-sdk", *respSite.Subdomain, "Subdomain")
s.Equal("USD", *respSite.Currency, "Currency")
s.Equal(56887, *respSite.SellerId, "SellerID")
s.Equal(58665, *respSite.SellerId, "SellerID")
s.EqualValues([]string{"EUR"}, respSite.NonPrimaryCurrencies, "NonPrimaryCurrencies")
s.True(*respSite.RelationshipInvoicingEnabled, "RelationshipInvoiceEnabled")
s.False(*respSite.CustomerHierarchyEnabled, "CustomerHierarchyEnabled,")
Expand Down

0 comments on commit 786d358

Please sign in to comment.