Skip to content

Commit

Permalink
add organisation_id in tests for accounts check
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com>
  • Loading branch information
RealHarshThakur committed Nov 7, 2024
1 parent 5caae03 commit 9bbea68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions membership_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ func TestListMemberships(t *testing.T) {
if got.Accounts[0].ID != "4f229791-6088-42dd-8fbe-3f64ec47567f" {
t.Errorf("Expected User ID %s, got %s", "4f229791-6088-42dd-8fbe-3f64ec47567f", got.Accounts[0].ID)
}

if got.Accounts[0].OrganisationID != "63bd4fe4-eeff-421b-aa24-1518decc5464" {
t.Errorf("Expected User ID %s, got %s", "63bd4fe4-eeff-421b-aa24-1518decc5464", got.Accounts[0].OrganisationID)
}

if got.Organisations[0].ID != "63bd4fe4-eeff-421b-aa24-1518decc5464" {
t.Errorf("Expected User ID %s, got %s", "63bd4fe4-eeff-421b-aa24-1518decc5464", got.Organisations[0].ID)
}
Expand Down

0 comments on commit 9bbea68

Please sign in to comment.