Skip to content

Commit

Permalink
fix: Remove repository from GUT settings page header (#2823)
Browse files Browse the repository at this point in the history
Small tweak removing `repository` from the GUT settings page.
  • Loading branch information
nicholas-codecov authored and RulaKhaled committed May 2, 2024
1 parent 360f708 commit 981d022
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ function OrgUploadToken() {
return (
<div className="flex flex-col gap-4 lg:w-3/4">
<div className="flex gap-1">
<h1 className="text-lg font-semibold">
Global repository upload token
</h1>
<h1 className="text-lg font-semibold">Global upload token</h1>
<div className="mt-2 text-xs">
<A to={{ pageName: 'orgUploadTokenDoc' }}>learn more</A>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('OrgUploadToken', () => {
it('renders title', async () => {
render(<OrgUploadToken />, { wrapper })

const title = await screen.findByText(/Global repository upload token/)
const title = await screen.findByText(/Global upload token/)
expect(title).toBeInTheDocument()
})

Expand Down Expand Up @@ -237,7 +237,7 @@ describe('OrgUploadToken', () => {
await waitFor(() =>
expect(addNotification).toHaveBeenCalledWith({
type: 'success',
text: 'Global repository upload token generated.',
text: 'Global upload token generated.',
})
)
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function useGenerateOrgUploadToken() {
} else {
addToast({
type: 'success',
text: 'Global repository upload token generated.',
text: 'Global upload token generated.',
})
}
},
Expand Down

0 comments on commit 981d022

Please sign in to comment.