mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-04 11:20:53 +01:00
Fix failing e2e Test because of trailing slash
The e2e Tests for repository code file search were failing, because the file search url now contained a trailing slash. That trailing slash was removed.
This commit is contained in:
@@ -26,4 +26,4 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ const FileSearchButton: FC<Props> = ({ baseUrl, revision, currentSource, reposit
|
||||
|
||||
return (
|
||||
<Link
|
||||
to={`${baseUrl}/search/${encodeURIComponent(revision)}/?${currentSourcePath}`}
|
||||
to={`${baseUrl}/search/${encodeURIComponent(revision)}?${currentSourcePath}`}
|
||||
aria-label={t("fileSearch.button.title")}
|
||||
data-testid="file_search_button"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user