Skip to content

Commit

Permalink
FI-3286: Rename Auth Type dropdown input (#545)
Browse files Browse the repository at this point in the history
* rename auth type dropdown input

* update test
  • Loading branch information
AlyssaWang authored Oct 17, 2024
1 parent 020347f commit 4f17e99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/InputsModal/AuthTypeSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const AuthTypeSelector: FC<InputAccessProps> = ({
const selectorModel: TestInput = {
name: 'auth_type',
type: 'select',
title: `${requirement.name} Auth Type`,
title: 'Auth Type',
description: requirement.description,
default: selectorSettings.default || 'public',
optional: selectorSettings.optional,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ describe('Input Components', () => {
</ThemeProvider>,
);

const inputText = screen.getByText('authInput Auth Type (required)');
const inputText = screen.getByText('Auth Type (required)');
expect(inputText).toBeVisible();
});

Expand Down

0 comments on commit 4f17e99

Please # to comment.