From 9bbea68dd0674e97cc8b670a831b9c8dc50dcc6a Mon Sep 17 00:00:00 2001 From: Harsh Thakur Date: Thu, 7 Nov 2024 16:10:52 +0530 Subject: [PATCH] add organisation_id in tests for accounts check Signed-off-by: Harsh Thakur --- membership_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/membership_test.go b/membership_test.go index 8d7fcdc..94a1644 100644 --- a/membership_test.go +++ b/membership_test.go @@ -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) }