Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
520f6eaf
Commit
520f6eaf
authored
Jan 28, 2021
by
Brandon Labuschagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add subgroups to devops adoption
This was previously removed, but is now being re-instated again.
parent
2430d6ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
app/presenters/dev_ops_report/metric_presenter.rb
app/presenters/dev_ops_report/metric_presenter.rb
+0
-0
ee/app/assets/javascripts/admin/dev_ops_report/graphql.js
ee/app/assets/javascripts/admin/dev_ops_report/graphql.js
+0
-1
ee/spec/frontend/admin/dev_ops_report/graphql/resolvers_spec.js
...c/frontend/admin/dev_ops_report/graphql/resolvers_spec.js
+2
-2
No files found.
app/presenters/dev_ops_
score
/metric_presenter.rb
→
app/presenters/dev_ops_
report
/metric_presenter.rb
View file @
520f6eaf
File moved
ee/app/assets/javascripts/admin/dev_ops_report/graphql.js
View file @
520f6eaf
...
...
@@ -13,7 +13,6 @@ export const resolvers = {
const
params
=
{
per_page
:
Api
.
DEFAULT_PER_PAGE
,
search
,
top_level_only
:
true
,
};
if
(
nextPage
)
{
params
.
page
=
nextPage
;
...
...
ee/spec/frontend/admin/dev_ops_report/graphql/resolvers_spec.js
View file @
520f6eaf
...
...
@@ -23,11 +23,11 @@ describe('DevOps GraphQL resolvers', () => {
});
describe
(
'
groups query
'
,
()
=>
{
it
(
'
only fetches top leve
l groups
'
,
async
()
=>
{
it
(
'
fetches al
l groups
'
,
async
()
=>
{
mockAdapter
.
onGet
(
fetchGroupsUrl
).
reply
(
httpStatus
.
OK
,
groupData
,
pageData
);
await
mockClient
.
query
({
query
:
getGroupsQuery
});
expect
(
mockAdapter
.
history
.
get
[
0
].
params
).
toEqual
(
expect
(
mockAdapter
.
history
.
get
[
0
].
params
).
not
.
toEqual
(
expect
.
objectContaining
({
top_level_only
:
true
}),
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment