diff --git a/packages/react-dom/src/__tests__/ReactDOMForm-test.js b/packages/react-dom/src/__tests__/ReactDOMForm-test.js
index b0d66a9e94c92..677c18425b522 100644
--- a/packages/react-dom/src/__tests__/ReactDOMForm-test.js
+++ b/packages/react-dom/src/__tests__/ReactDOMForm-test.js
@@ -1324,7 +1324,7 @@ describe('ReactDOMForm', () => {
let dispatch;
function App() {
- const [state, _dispatch, isPending] = useFormState(action, 0);
+ const [state, _dispatch, isPending] = useActionState(action, 0);
dispatch = _dispatch;
const pending = isPending ? 'Pending ' : '';
return