Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
Jonas Franz 2018-05-12 10:53:38 +02:00
parent bc9359222a
commit 58fb672d0d
No known key found for this signature in database
GPG Key ID: 506AEEBE80BEDECD
2 changed files with 7 additions and 7 deletions

View File

@ -71,7 +71,7 @@ func TestGetCurrentReview(t *testing.T) {
assert.NoError(t, err) assert.NoError(t, err)
assert.NotNil(t, review) assert.NotNil(t, review)
assert.Equal(t, ReviewTypePending, review.Type) assert.Equal(t, ReviewTypePending, review.Type)
assert.Equal(t, "Pending Review", review.Content ) assert.Equal(t, "Pending Review", review.Content)
user2 := AssertExistsAndLoadBean(t, &User{ID: 2}).(*User) user2 := AssertExistsAndLoadBean(t, &User{ID: 2}).(*User)
review2, err := GetCurrentReview(user2, issue) review2, err := GetCurrentReview(user2, issue)