Skip to content

Commit edbc363

Browse files
authored
test: update platform mock(me) (#656)
* test: update platform mock(me)
1 parent 943972e commit edbc363

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/component-test.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,9 @@ on:
55
push:
66
branches:
77
- main
8-
paths-ignore:
9-
- "*.md"
10-
- charts/**
118
pull_request:
129
branches:
1310
- main
14-
paths-ignore:
15-
- "*.md"
16-
- charts/**
1711

1812
jobs:
1913
component-test:

tests/component-tests/setup/mocks/platform-mocks.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
"method": "POST",
178178
"path": "/2.0/api/graphql",
179179
"body": {
180-
"query": "\n query me {\n me {\n runtimeName\n activeAccount {\n id\n name\n gitProvider\n gitApiUrl\n sharedConfigRepo\n }\n }\n }\n"
180+
"query": "\n query me {\n me {\n runtimeName\n activeAccount {\n id\n name\n gitProvider\n gitApiUrl\n sharedConfigRepo\n csdpValidated\n }\n }\n }\n"
181181
}
182182
},
183183
"httpResponse": {
@@ -191,7 +191,8 @@
191191
"name": "local",
192192
"gitProvider": "GITHUB",
193193
"gitApiUrl": "http://mockserver.mockserver:1080",
194-
"sharedConfigRepo": "http://gitea-http.gitea:3000/test-owner/codefresh-isc"
194+
"sharedConfigRepo": "http://gitea-http.gitea:3000/test-owner/codefresh-isc",
195+
"csdpValidated": true
195196
}
196197
}
197198
}

0 commit comments

Comments
 (0)