mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
chore: remove upgrade from dradd tests
This commit is contained in:
parent
ddea297ef1
commit
6ab1dd7d89
@ -18,9 +18,9 @@ var skipTests = []string{
|
||||
"/api/ws > Websocket handler > 200 > application/json",
|
||||
"authentication > /api/auth/login > Performs Login > 204 > application/json",
|
||||
"authentication > /api/auth/logout > Destroys current session > 204 > application/json",
|
||||
"/api/upgrade > Upgrade the server > 200 > application/json",
|
||||
//"/api/upgrade > Upgrade the server > 200 > application/json",
|
||||
// TODO - Skipping this while we work out how to get a 204 response from the api for testing
|
||||
"/api/upgrade > Check if new updates available and fetch /info > 204 > application/json",
|
||||
//"/api/upgrade > Check if new updates available and fetch /info > 204 > application/json",
|
||||
}
|
||||
|
||||
// Dredd expects that you have already set up the database and run all migrations before it begins.
|
||||
|
30
api-docs.yml
30
api-docs.yml
@ -488,21 +488,21 @@ paths:
|
||||
schema:
|
||||
$ref: "#/definitions/InfoType"
|
||||
|
||||
/upgrade:
|
||||
get:
|
||||
summary: Check if new updates available and fetch /info
|
||||
responses:
|
||||
204:
|
||||
description: no update
|
||||
200:
|
||||
description: ok
|
||||
schema:
|
||||
$ref: "#/definitions/InfoType"
|
||||
post:
|
||||
summary: Upgrade the server
|
||||
responses:
|
||||
200:
|
||||
description: Server binary was replaced by new version, server has shut down.
|
||||
# /upgrade:
|
||||
# get:
|
||||
# summary: Check if new updates available and fetch /info
|
||||
# responses:
|
||||
# 204:
|
||||
# description: no update
|
||||
# 200:
|
||||
# description: ok
|
||||
# schema:
|
||||
# $ref: "#/definitions/InfoType"
|
||||
# post:
|
||||
# summary: Upgrade the server
|
||||
# responses:
|
||||
# 200:
|
||||
# description: Server binary was replaced by new version, server has shut down.
|
||||
|
||||
# Authentication
|
||||
/auth/login:
|
||||
|
Loading…
Reference in New Issue
Block a user