Skip to content

Commit c7258f2

Browse files
authored
fix(utils): add mfa to inline snapshot test assertion (#15518)
* Fix test * Changeset
1 parent 2134c20 commit c7258f2

2 files changed

Lines changed: 47 additions & 0 deletions

File tree

.changeset/six-pumas-count.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@medusajs/utils": patch
3+
---
4+
5+
fix(utils): add mfa to inline snapshot test assertion

packages/core/utils/src/common/__tests__/define-config.spec.ts

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ describe("defineConfig", function () {
1818
},
1919
"auth": {
2020
"options": {
21+
"mfa": {
22+
"encryption_key": undefined,
23+
},
2124
"providers": [
2225
{
2326
"id": "emailpass",
@@ -200,6 +203,9 @@ describe("defineConfig", function () {
200203
},
201204
"auth": {
202205
"options": {
206+
"mfa": {
207+
"encryption_key": undefined,
208+
},
203209
"providers": [
204210
{
205211
"id": "emailpass",
@@ -390,6 +396,9 @@ describe("defineConfig", function () {
390396
},
391397
"auth": {
392398
"options": {
399+
"mfa": {
400+
"encryption_key": undefined,
401+
},
393402
"providers": [
394403
{
395404
"id": "emailpass",
@@ -581,6 +590,9 @@ describe("defineConfig", function () {
581590
},
582591
"auth": {
583592
"options": {
593+
"mfa": {
594+
"encryption_key": undefined,
595+
},
584596
"providers": [
585597
{
586598
"id": "emailpass",
@@ -760,6 +772,9 @@ describe("defineConfig", function () {
760772
},
761773
"auth": {
762774
"options": {
775+
"mfa": {
776+
"encryption_key": undefined,
777+
},
763778
"providers": [
764779
{
765780
"id": "emailpass",
@@ -942,6 +957,9 @@ describe("defineConfig", function () {
942957
},
943958
"auth": {
944959
"options": {
960+
"mfa": {
961+
"encryption_key": undefined,
962+
},
945963
"providers": [
946964
{
947965
"id": "emailpass",
@@ -1127,6 +1145,9 @@ describe("defineConfig", function () {
11271145
},
11281146
"auth": {
11291147
"options": {
1148+
"mfa": {
1149+
"encryption_key": undefined,
1150+
},
11301151
"providers": [
11311152
{
11321153
"id": "emailpass",
@@ -1362,6 +1383,9 @@ describe("defineConfig", function () {
13621383
},
13631384
"auth": {
13641385
"options": {
1386+
"mfa": {
1387+
"encryption_key": undefined,
1388+
},
13651389
"providers": [
13661390
{
13671391
"id": "emailpass",
@@ -1557,6 +1581,9 @@ describe("defineConfig", function () {
15571581
},
15581582
"auth": {
15591583
"options": {
1584+
"mfa": {
1585+
"encryption_key": undefined,
1586+
},
15601587
"providers": [
15611588
{
15621589
"id": "emailpass",
@@ -1809,6 +1836,9 @@ describe("defineConfig", function () {
18091836
},
18101837
"auth": {
18111838
"options": {
1839+
"mfa": {
1840+
"encryption_key": undefined,
1841+
},
18121842
"providers": [
18131843
{
18141844
"id": "emailpass",
@@ -2140,6 +2170,9 @@ describe("defineConfig", function () {
21402170
},
21412171
"auth": {
21422172
"options": {
2173+
"mfa": {
2174+
"encryption_key": undefined,
2175+
},
21432176
"providers": [
21442177
{
21452178
"id": "emailpass",
@@ -2343,6 +2376,9 @@ describe("defineConfig", function () {
23432376
"oauth_token_endpoint": "test-oauth-token-endpoint",
23442377
"sandbox_handle": undefined,
23452378
},
2379+
"mfa": {
2380+
"encryption_key": undefined,
2381+
},
23462382
"providers": [
23472383
{
23482384
"id": "emailpass",
@@ -2564,6 +2600,9 @@ describe("defineConfig", function () {
25642600
"oauth_token_endpoint": "test-oauth-token-endpoint",
25652601
"sandbox_handle": "test-sandbox",
25662602
},
2603+
"mfa": {
2604+
"encryption_key": undefined,
2605+
},
25672606
"providers": [
25682607
{
25692608
"id": "emailpass",
@@ -2794,6 +2833,9 @@ describe("defineConfig", function () {
27942833
"oauth_token_endpoint": "overriden-oauth-token-endpoint",
27952834
"sandbox_handle": undefined,
27962835
},
2836+
"mfa": {
2837+
"encryption_key": undefined,
2838+
},
27972839
"providers": [
27982840
{
27992841
"id": "emailpass",

0 commit comments

Comments
 (0)