aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/version_test.go
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-10-12 13:40:42 +0200
committerLauris BH <lauris@nix.lv>2017-10-12 14:40:42 +0300
commita4cd4616c6f8524f8eb79d6184e855b3a8164130 (patch)
tree63155beaf0a88275477797100486b1ba7ba66a25 /integrations/version_test.go
parentdff26e25ca4e088ac709bc4b11eb84cdb9603d34 (diff)
downloadgitea-a4cd4616c6f8524f8eb79d6184e855b3a8164130.tar.gz
gitea-a4cd4616c6f8524f8eb79d6184e855b3a8164130.zip
Update hard-coded version to 1.3.0-dev (#2390)
* Use -dev (1.3.0-dev is less than 1.3.0, according to semver) * Use fake version for testing purpose
Diffstat (limited to 'integrations/version_test.go')
-rw-r--r--integrations/version_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/version_test.go b/integrations/version_test.go
index 95b4dbc952..9a30bfb53b 100644
--- a/integrations/version_test.go
+++ b/integrations/version_test.go
@@ -17,7 +17,7 @@ import (
func TestVersion(t *testing.T) {
prepareTestEnv(t)
- setting.AppVer = "1.1.0+dev"
+ setting.AppVer = "test-version-1"
req := NewRequest(t, "GET", "/api/v1/version")
resp := MakeRequest(t, req, http.StatusOK)