Skip to content

Commit 907ac15

Browse files
committed
Address review comments: organisation to organization
1 parent b8ce469 commit 907ac15

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

mocks/run_mocks.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type Runs interface {
2222
List(ctx context.Context, workspaceID string, options *RunListOptions) (*RunList, error)
2323

2424
// List all the runs of the given organization.
25-
ListForOrganization(ctx context.Context, organisation string, options *RunListForOrganizationOptions) (*RunList, error)
25+
ListForOrganization(ctx context.Context, organization string, options *RunListForOrganizationOptions) (*RunList, error)
2626

2727
// Create a new run with the given options.
2828
Create(ctx context.Context, options RunCreateOptions) (*Run, error)

test_run_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func TestTestRunsCreate(t *testing.T) {
168168
_, err := client.TestRuns.Create(ctx, options)
169169
require.Equal(t, ErrRequiredRegistryModule, err)
170170
})
171-
t.Run("without an organisation", func(t *testing.T) {
171+
t.Run("without an organization", func(t *testing.T) {
172172
rm := &RegistryModule{
173173
ID: rmTest.ID,
174174
Name: rmTest.Name,

0 commit comments

Comments
 (0)