aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/runners.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/runners.ts')
-rw-r--r--server/tests/api/check-params/runners.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/tests/api/check-params/runners.ts b/server/tests/api/check-params/runners.ts
index 4ba90802f..7d70c412e 100644
--- a/server/tests/api/check-params/runners.ts
+++ b/server/tests/api/check-params/runners.ts
@@ -177,6 +177,15 @@ describe('Test managing runners', function () {
177 177
178 toDeleteId = id 178 toDeleteId = id
179 }) 179 })
180
181 it('Should fail with the same runner name', async function () {
182 await server.runners.register({
183 name,
184 description: 'super description',
185 registrationToken,
186 expectedStatus: HttpStatusCode.BAD_REQUEST_400
187 })
188 })
180 }) 189 })
181 190
182 describe('Delete', function () { 191 describe('Delete', function () {