aboutsummaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2019-09-02 16:12:29 -0300
committertechknowlogick <techknowlogick@gitea.io>2019-09-02 15:12:29 -0400
commit765be703233aee7e890d8ae1e95b1b08d3b03d98 (patch)
tree8cd334b2591c695a7e3d49b198b5fdadb5df92b6 /integrations
parentfe1a6a2d9ae8ecb2224b00dc8adc920c7388c28c (diff)
downloadgitea-765be703233aee7e890d8ae1e95b1b08d3b03d98.tar.gz
gitea-765be703233aee7e890d8ae1e95b1b08d3b03d98.zip
Make CI work (#8057)
* Use export GOPROXY=https://goproxy.cn before build * Add go version to generate command * Reproduced the entire build procedure - see notes I've used: sudo go clean -i -r -cache -testcache -modcache make clean make generate make golangci-lint make revive make swagger-check make swagger-validate make test-vendor <--- this now fails make vendor <--- this now produced changes git commit -a <--- this commit * Add fix from #8059 to complete CI tests
Diffstat (limited to 'integrations')
-rw-r--r--integrations/pull_create_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/pull_create_test.go b/integrations/pull_create_test.go
index 8f39e8b028..84bcbff0dc 100644
--- a/integrations/pull_create_test.go
+++ b/integrations/pull_create_test.go
@@ -100,7 +100,7 @@ func TestPullCreate_TitleEscape(t *testing.T) {
htmlDoc = NewHTMLParser(t, resp.Body)
titleHTML, err := htmlDoc.doc.Find(".comments .event .text b").First().Html()
assert.NoError(t, err)
- assert.Equal(t, "&lt;i&gt;XSS PR&lt;/i&gt;", titleHTML)
+ assert.Equal(t, "<strike>&lt;i&gt;XSS PR&lt;/i&gt;</strike>", titleHTML)
titleHTML, err = htmlDoc.doc.Find(".comments .event .text b").Next().Html()
assert.NoError(t, err)
assert.Equal(t, "&lt;u&gt;XSS PR&lt;/u&gt;", titleHTML)