From 0d03cd98d86b25175db7ec652323354fb7b108db Mon Sep 17 00:00:00 2001 From: kilo Date: Sun, 29 Oct 2017 04:46:14 +0100 Subject: [PATCH] Update template_test.go --- templates/template_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/template_test.go b/templates/template_test.go index 411cc21d..e3b9bcee 100644 --- a/templates/template_test.go +++ b/templates/template_test.go @@ -63,7 +63,7 @@ func walkDirTest(dir string, t *testing.T) { fakeTorrentRequest := &torrentValidator.TorrentRequest{Name: "test", Magnet: "", Category: "", Remake: false, Description: "", Status: 1, Hidden: false, CaptchaID: "", WebsiteLink: "", Languages: nil, Infohash: "", SubCategoryID: 0, CategoryID: 0, Filesize: 0, Filepath: "", FileList: nil, Trackers: nil, Tags: torrentValidator.TagsRequest{}} fakeLogin := &userValidator.LoginForm{"test", "test", "/", "false"} fakeRegistration := &userValidator.RegistrationForm{"test", "", "test", "test", "xxxx", "1"} - fakeReport := &models.TorrentReport{1, "test", 1, 1, time.Now(), fakeTorrent, fakeUser} + fakeReport := &models.TorrentReport{1, "test", "test", 1, 1, time.Now(), fakeTorrent, fakeUser} fakeOauthForm := apiValidator.CreateForm{"", "f", []string{fu}, []string{}, []string{}, "", "fedr", fu, fu, fu, fu, []string{em}, ""} fakeOauthModel := fakeOauthForm.Bind(&models.OauthClient{}) fakeClient := client.Client{"", "", "", []string{""}, []string{""}, []string{""}, "", "", "", "", "", "", []string{""}, false}