summaryrefslogtreecommitdiffstats
path: root/models/issue_dependency_test.go
diff options
context:
space:
mode:
authorHarshit Bansal <harshitbansal2015@gmail.com>2019-01-27 17:01:40 +0530
committerLauris BH <lauris@nix.lv>2019-01-27 13:31:40 +0200
commit7e8242ddb116b6748b008c500479ca3805107959 (patch)
treea71525a2c068af3931b2e79c64233d8254b89bd6 /models/issue_dependency_test.go
parent2d8520d039a8458a9286675d4382e38f730437e3 (diff)
downloadgitea-7e8242ddb116b6748b008c500479ca3805107959.tar.gz
gitea-7e8242ddb116b6748b008c500479ca3805107959.zip
Fix an error while adding a dependency via UI. (#5862)
Fixes: #5783
Diffstat (limited to 'models/issue_dependency_test.go')
-rw-r--r--models/issue_dependency_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/models/issue_dependency_test.go b/models/issue_dependency_test.go
index deb5dbcad7..ede9e008eb 100644
--- a/models/issue_dependency_test.go
+++ b/models/issue_dependency_test.go
@@ -19,11 +19,9 @@ func TestCreateIssueDependency(t *testing.T) {
issue1, err := GetIssueByID(1)
assert.NoError(t, err)
- issue1.LoadAttributes()
issue2, err := GetIssueByID(2)
assert.NoError(t, err)
- issue2.LoadAttributes()
// Create a dependency and check if it was successful
err = CreateIssueDependency(user1, issue1, issue2)