aboutsummaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2022-06-15 18:05:32 +0300
committerGitHub <noreply@github.com>2022-06-15 23:05:32 +0800
commit1f8f9c3826643b8c3a0c3da1dc15090af736f5a6 (patch)
tree80e4dec4b1ac01f9bd41d27ae042ece6a14b0f1e /integrations
parent9f87b60b46b2d3c6c4518d772a0fdc935d454ae0 (diff)
downloadgitea-1f8f9c3826643b8c3a0c3da1dc15090af736f5a6.tar.gz
gitea-1f8f9c3826643b8c3a0c3da1dc15090af736f5a6.zip
Remove tab/TabName usage where it's not needed (#19973)
`tab` query argument and `TabName` in context is used only in profile so remove it from all other places where it's not used anymore.
Diffstat (limited to 'integrations')
-rw-r--r--integrations/links_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/integrations/links_test.go b/integrations/links_test.go
index bc87ffad83..d0cf978f65 100644
--- a/integrations/links_test.go
+++ b/integrations/links_test.go
@@ -22,11 +22,11 @@ func TestLinksNoLogin(t *testing.T) {
links := []string{
"/explore/repos",
- "/explore/repos?q=test&tab=",
+ "/explore/repos?q=test",
"/explore/users",
- "/explore/users?q=test&tab=",
+ "/explore/users?q=test",
"/explore/organizations",
- "/explore/organizations?q=test&tab=",
+ "/explore/organizations?q=test",
"/",
"/user/sign_up",
"/user/login",
@@ -81,11 +81,11 @@ func TestNoLoginNotExist(t *testing.T) {
func testLinksAsUser(userName string, t *testing.T) {
links := []string{
"/explore/repos",
- "/explore/repos?q=test&tab=",
+ "/explore/repos?q=test",
"/explore/users",
- "/explore/users?q=test&tab=",
+ "/explore/users?q=test",
"/explore/organizations",
- "/explore/organizations?q=test&tab=",
+ "/explore/organizations?q=test",
"/",
"/user/forgot_password",
"/api/swagger",