diff options
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx index 2064f12ff..1fb20b6d2 100644 --- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx +++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx @@ -20,8 +20,9 @@ */ import { ReducerState } from "@gnu-taler/anastasis-core"; -import { createExample, reducerStatesExample } from "../../../utils/index.js"; +import { reducerStatesExample } from "../../../utils/index.js"; import { authMethods as TestedComponent, KnownAuthMethods } from "./index.js"; +import { tests } from "@gnu-taler/web-util/lib/index.browser"; export default { title: "Auth method: SMS solve", @@ -37,9 +38,12 @@ export default { const type: KnownAuthMethods = "sms"; -export const WithoutFeedback = createExample( +export const WithoutFeedback = tests.createExample( TestedComponent[type].solve, { + id: "AHCC4ZJ3Z1AF8TWBKGVGEKCQ3R7HXHJ51MJ45NHNZMHYZTKJ9NW0", + }, + { ...reducerStatesExample.challengeSolving, recovery_information: { challenges: [ @@ -54,7 +58,4 @@ export const WithoutFeedback = createExample( selected_challenge_uuid: "AHCC4ZJ3Z1AF8TWBKGVGEKCQ3R7HXHJ51MJ45NHNZMHYZTKJ9NW0", } as ReducerState, - { - id: "AHCC4ZJ3Z1AF8TWBKGVGEKCQ3R7HXHJ51MJ45NHNZMHYZTKJ9NW0", - }, ); |