diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-01 18:22:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-01 18:22:20 +0300 |
commit | 06f736847bb6a7f577a8f121f94e4cc7ddb51856 (patch) | |
tree | 900541f271b709007f2df1accc15a4956825281f /spec/frontend/ci | |
parent | 7c9f5b5d627c9eb1a9791613a531122db9a1f81d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/ci')
-rw-r--r-- | spec/frontend/ci/runner/components/runner_projects_spec.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/frontend/ci/runner/components/runner_projects_spec.js b/spec/frontend/ci/runner/components/runner_projects_spec.js index 7d49874bfbc..afdc54d8ebc 100644 --- a/spec/frontend/ci/runner/components/runner_projects_spec.js +++ b/spec/frontend/ci/runner/components/runner_projects_spec.js @@ -67,7 +67,6 @@ describe('RunnerProjects', () => { expect(mockRunnerProjectsQuery).toHaveBeenCalledWith({ id: mockRunner.id, search: '', - sort: 'ID_ASC', first: RUNNER_DETAILS_PROJECTS_PAGE_SIZE, }); }); @@ -109,6 +108,7 @@ describe('RunnerProjects', () => { name, fullName: nameWithNamespace, avatarUrl, + isOwner: true, // first project is always owner }); }); @@ -124,7 +124,6 @@ describe('RunnerProjects', () => { expect(mockRunnerProjectsQuery).toHaveBeenLastCalledWith({ id: mockRunner.id, search: '', - sort: 'ID_ASC', first: RUNNER_DETAILS_PROJECTS_PAGE_SIZE, after: 'AFTER_CURSOR', }); @@ -139,7 +138,6 @@ describe('RunnerProjects', () => { expect(mockRunnerProjectsQuery).toHaveBeenLastCalledWith({ id: mockRunner.id, search: '', - sort: 'ID_ASC', last: RUNNER_DETAILS_PROJECTS_PAGE_SIZE, before: 'BEFORE_CURSOR', }); @@ -153,7 +151,6 @@ describe('RunnerProjects', () => { expect(mockRunnerProjectsQuery).toHaveBeenLastCalledWith({ id: mockRunner.id, search: 'my search', - sort: 'ID_ASC', first: RUNNER_DETAILS_PROJECTS_PAGE_SIZE, }); }); @@ -170,7 +167,6 @@ describe('RunnerProjects', () => { expect(mockRunnerProjectsQuery).toHaveBeenLastCalledWith({ id: mockRunner.id, search: 'my search', - sort: 'ID_ASC', first: RUNNER_DETAILS_PROJECTS_PAGE_SIZE, }); }); |