Skip to content
代码片段 群组 项目
提交 61a67631 编辑于 作者: Vasilii Iakliushin's avatar Vasilii Iakliushin
浏览文件

Use a specific snippet factory in tests

Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/494689

**Problem**

We are going to add a not null constraint for snippet fields project_id
and organization_id. This change breaks test factories that generate
invalid records without any of these fields.

**Solution**

Update test suite to use a specific snippet type (Project or Personal)
instead of a generic `snippet`.
上级 6472d5b7
No related branches found
No related tags found
无相关合并请求
显示
30 个添加29 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册