diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-24 21:17:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-24 21:17:30 +0300 |
commit | 0bf82aa5cb3b1ed826dd5c0d46331e17aa60d9e9 (patch) | |
tree | ee5a760877cce0189cc8e765a912a06942f3e4de /spec/frontend/ci | |
parent | efbf661c4224d481c57d0346e26983a805e5ec93 (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, 5 insertions, 1 deletions
diff --git a/spec/frontend/ci/runner/components/runner_projects_spec.js b/spec/frontend/ci/runner/components/runner_projects_spec.js index afdc54d8ebc..7d49874bfbc 100644 --- a/spec/frontend/ci/runner/components/runner_projects_spec.js +++ b/spec/frontend/ci/runner/components/runner_projects_spec.js @@ -67,6 +67,7 @@ describe('RunnerProjects', () => { expect(mockRunnerProjectsQuery).toHaveBeenCalledWith({ id: mockRunner.id, search: '', + sort: 'ID_ASC', first: RUNNER_DETAILS_PROJECTS_PAGE_SIZE, }); }); @@ -108,7 +109,6 @@ describe('RunnerProjects', () => { name, fullName: nameWithNamespace, avatarUrl, - isOwner: true, // first project is always owner }); }); @@ -124,6 +124,7 @@ describe('RunnerProjects', () => { expect(mockRunnerProjectsQuery).toHaveBeenLastCalledWith({ id: mockRunner.id, search: '', + sort: 'ID_ASC', first: RUNNER_DETAILS_PROJECTS_PAGE_SIZE, after: 'AFTER_CURSOR', }); @@ -138,6 +139,7 @@ describe('RunnerProjects', () => { expect(mockRunnerProjectsQuery).toHaveBeenLastCalledWith({ id: mockRunner.id, search: '', + sort: 'ID_ASC', last: RUNNER_DETAILS_PROJECTS_PAGE_SIZE, before: 'BEFORE_CURSOR', }); @@ -151,6 +153,7 @@ describe('RunnerProjects', () => { expect(mockRunnerProjectsQuery).toHaveBeenLastCalledWith({ id: mockRunner.id, search: 'my search', + sort: 'ID_ASC', first: RUNNER_DETAILS_PROJECTS_PAGE_SIZE, }); }); @@ -167,6 +170,7 @@ describe('RunnerProjects', () => { expect(mockRunnerProjectsQuery).toHaveBeenLastCalledWith({ id: mockRunner.id, search: 'my search', + sort: 'ID_ASC', first: RUNNER_DETAILS_PROJECTS_PAGE_SIZE, }); }); |