Skip to content

Commit

Permalink
Address review comments: organisation to organization
Browse files Browse the repository at this point in the history
  • Loading branch information
arybolovlev committed Feb 19, 2025
1 parent b8ce469 commit 907ac15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions mocks/run_mocks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion run.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Runs interface {
List(ctx context.Context, workspaceID string, options *RunListOptions) (*RunList, error)

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

// Create a new run with the given options.
Create(ctx context.Context, options RunCreateOptions) (*Run, error)
Expand Down
2 changes: 1 addition & 1 deletion test_run_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func TestTestRunsCreate(t *testing.T) {
_, err := client.TestRuns.Create(ctx, options)
require.Equal(t, ErrRequiredRegistryModule, err)
})
t.Run("without an organisation", func(t *testing.T) {
t.Run("without an organization", func(t *testing.T) {
rm := &RegistryModule{
ID: rmTest.ID,
Name: rmTest.Name,
Expand Down

0 comments on commit 907ac15

Please sign in to comment.