From 7fe5f3767ea256fc9ebe4b5ef3f79d4c168a331f Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Fri, 21 Apr 2023 10:49:02 -0300
Subject: integrate to the web util testing api

---
 packages/demobank-ui/src/pages/QrCodeSection.stories.tsx | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

(limited to 'packages/demobank-ui/src/pages/QrCodeSection.stories.tsx')

diff --git a/packages/demobank-ui/src/pages/QrCodeSection.stories.tsx b/packages/demobank-ui/src/pages/QrCodeSection.stories.tsx
index 521d4255e..11c21cc09 100644
--- a/packages/demobank-ui/src/pages/QrCodeSection.stories.tsx
+++ b/packages/demobank-ui/src/pages/QrCodeSection.stories.tsx
@@ -19,15 +19,14 @@
  * @author Sebastian Javier Marchano (sebasjm)
  */
 
+import { tests } from "@gnu-taler/web-util/lib/index.browser";
 import { QrCodeSection } from "./QrCodeSection.js";
+import { parseWithdrawUri } from "@gnu-taler/taler-util";
 
 export default {
   title: "Qr Code Selection",
 };
 
-export const SimpleExample = {
-  component: QrCodeSection,
-  props: {
-    talerWithdrawUri: "taler://withdraw/asdasdasd",
-  },
-};
+export const SimpleExample = tests.createExample(QrCodeSection, {
+  withdrawUri: parseWithdrawUri("taler://withdraw/bank.com/operationId"),
+});
-- 
cgit v1.2.3

