diff options
author | Krasimir Angelov <kangelov@gitlab.com> | 2019-08-20 12:28:55 +0300 |
---|---|---|
committer | Krasimir Angelov <kangelov@gitlab.com> | 2019-08-20 12:39:19 +0300 |
commit | 92ac94c26e408842c6dfa44aae93e147a0f3d8f8 (patch) | |
tree | 24251ef5b17baa744cb96f5b7448c4900e196f1b /spec/fixtures | |
parent | 51c19691e4c4ceb60ef28fd08c6b13549a423a39 (diff) |
Replace finished_at with deployed_at for Deployment entity
Instead of `finished_at` attribute use `deployed_at` methods which also
takes into account the deployment status.
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/56130.
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/deployment.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/fixtures/api/schemas/deployment.json b/spec/fixtures/api/schemas/deployment.json index 9216ad0060b..fe725b97c21 100644 --- a/spec/fixtures/api/schemas/deployment.json +++ b/spec/fixtures/api/schemas/deployment.json @@ -3,7 +3,7 @@ "required": [ "sha", "created_at", - "finished_at", + "deployed_at", "iid", "tag", "last?", @@ -12,7 +12,7 @@ ], "properties": { "created_at": { "type": "string" }, - "finished_at": { "type": ["string", "null"] }, + "deployed_at": { "type": ["string", "null"] }, "id": { "type": "integer" }, "iid": { "type": "integer" }, "last?": { "type": "boolean" }, |