aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHubert WawrzyƄczyk <107928848+fitithw@users.noreply.github.com>2022-10-12 08:53:56 +0200
committerGitHub <noreply@github.com>2022-10-12 14:53:56 +0800
commitc41b30760ba223b8e1db58b1412aacb5e2571b8a (patch)
treef87721d14674ecc0412024cb9a752b814ec167df /tests
parent0e57ff7eee4ac71d923f970d15889ad4d50f97a9 (diff)
downloadgitea-c41b30760ba223b8e1db58b1412aacb5e2571b8a.tar.gz
gitea-c41b30760ba223b8e1db58b1412aacb5e2571b8a.zip
Case-insensitive NuGet symbol file GUID (#21409)
NuGet symbol file lookup returned 404 on Visual Studio 2019 due to case-sensitive api router. The api router should accept case-insensitive GUID. Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/api_packages_nuget_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_packages_nuget_test.go b/tests/integration/api_packages_nuget_test.go
index 9d53311d35..8d5a5c7c82 100644
--- a/tests/integration/api_packages_nuget_test.go
+++ b/tests/integration/api_packages_nuget_test.go
@@ -280,7 +280,7 @@ AAAjQmxvYgAAAGm7ENm9SGxMtAFVvPUsPJTF6PbtAAAAAFcVogEJAAAAAQAAAA==`)
req = AddBasicAuthHeader(req, user.Name)
MakeRequest(t, req, http.StatusNotFound)
- req = NewRequest(t, "GET", fmt.Sprintf("%s/symbols/%s/%sFFFFFFFF/%s", url, symbolFilename, symbolID, symbolFilename))
+ req = NewRequest(t, "GET", fmt.Sprintf("%s/symbols/%s/%sFFFFffff/%s", url, symbolFilename, symbolID, symbolFilename))
req = AddBasicAuthHeader(req, user.Name)
MakeRequest(t, req, http.StatusOK)