mirror of
https://github.com/go-gitea/gitea
synced 2024-11-15 22:54:24 +00:00
check if the issue is closed
This commit is contained in:
parent
cad8ea713d
commit
e9436f0b10
@ -634,6 +634,12 @@ func TestPullMergeIndexerNotifier(t *testing.T) {
|
||||
assert.EqualValues(t, "pulls", elem[3])
|
||||
testPullMerge(t, session, elem[1], elem[2], elem[4], repo_model.MergeStyleMerge, false)
|
||||
|
||||
// check if the issue is closed
|
||||
issue = unittest.AssertExistsAndLoadBean(t, &issues_model.Issue{
|
||||
ID: issue.ID,
|
||||
})
|
||||
assert.True(t, issue.IsClosed)
|
||||
|
||||
queue.GetManager().FlushAll(context.Background(), 0)
|
||||
|
||||
// search issues again
|
||||
|
Loading…
Reference in New Issue
Block a user