Snippets: update test factories
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.
This blocks the migration !160060 (comment 2127941944)+.
Solution
Update test suite to use a specific snippet type (Project or Personal) instead of a generic snippet.
Edited by Vasilii Iakliushin