chore: Remove ChangeProjectStatus

- Introduced in 4027c5dd7c and removed in
the same commit (only used for testing code).
This commit is contained in:
Gusted 2025-01-30 12:16:12 +01:00
parent 8c3bfcac3b
commit b7b52fd04d
No known key found for this signature in database
GPG key ID: FD821B732837125F
3 changed files with 1 additions and 19 deletions

View file

@ -75,7 +75,7 @@ func TestProject(t *testing.T) {
assert.Equal(t, project.Title, projectFromDB.Title)
require.NoError(t, ChangeProjectStatus(db.DefaultContext, project, true))
require.NoError(t, ChangeProjectStatusByRepoIDAndID(db.DefaultContext, project.RepoID, project.ID, true))
// Retrieve from DB afresh to check if it is truly closed
projectFromDB, err = GetProjectByID(db.DefaultContext, project.ID)