(t *testing.T)
| 51 | ) |
| 52 | |
| 53 | func NewTestEnvAndBug(t *testing.T) (*execenv.Env, entity.Id) { |
| 54 | t.Helper() |
| 55 | |
| 56 | testEnv, _ := NewTestEnvAndUser(t) |
| 57 | |
| 58 | b, _, err := testEnv.Backend.Bugs().New(testBugTitle, testBugMessage) |
| 59 | require.NoError(t, err) |
| 60 | |
| 61 | return testEnv, b.Id() |
| 62 | } |
| 63 | |
| 64 | const ( |
| 65 | testCommentMessage = "this is a bug comment" |