From 10d74ee174e6c95e7aaded227f78a9123abe211a Mon Sep 17 00:00:00 2001 From: Anna Winkler <3526523+annawinkler@users.noreply.github.com> Date: Wed, 8 Jun 2022 10:33:07 -0600 Subject: [PATCH] Add comment about the tst- prefix for future us. --- helper_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helper_test.go b/helper_test.go index 62c50e019..f4a954794 100644 --- a/helper_test.go +++ b/helper_test.go @@ -414,6 +414,9 @@ func createOAuthToken(t *testing.T, client *Client, org *Organization) (*OAuthTo return ocTest.OAuthTokens[0], ocTestCleanup } +// createOrganization creates an organization for tests using the special prefix +// "tst-" that the API uses especially to grant access to orgs for testing. +// Don't change this prefix unless we refactor the code! func createOrganization(t *testing.T, client *Client) (*Organization, func()) { return createOrganizationWithOptions(t, client, OrganizationCreateOptions{ Name: String("tst-" + randomString(t)),