Skip to content
代码片段 群组 项目
提交 fb1eb764 编辑于 作者: Furkan Ayhan's avatar Furkan Ayhan
浏览文件

Delete api-basics- projects after QA test

Projects with the prefix "api-basics-" are created in a test case of
api/3_create/repository/files_spec but never get deleted.
上级 6fd529f6
No related branches found
No related tags found
无相关合并请求
...@@ -104,6 +104,14 @@ module QA ...@@ -104,6 +104,14 @@ module QA
expect(response.headers[:content_disposition]).not_to include("inline") expect(response.headers[:content_disposition]).not_to include("inline")
expect(response.headers[:content_type]).to include("image/svg+xml") expect(response.headers[:content_type]).to include("image/svg+xml")
end end
delete_project_request = Runtime::API::Request.new(@api_client, "/projects/#{sanitized_project_path}")
delete delete_project_request.url
expect_status(202)
expect(json_body).to match(
a_hash_including(message: '202 Accepted')
)
end end
end end
end end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册