Skip to content

Commit 9b632b2

Browse files
AC-10685: [PCI] CSP enforced on payment pages
1 parent c58d965 commit 9b632b2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

app/code/Magento/Paypal/Test/Unit/Model/_files/expected_style_config.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
'isGuestCheckoutAllowed' => true,
3030
'sdkUrl' => 'http://mock.url',
3131
'dataAttributes' => [
32-
'data-partner-attribution-id' => ''
32+
'data-partner-attribution-id' => '',
33+
'data-csp-nonce' => ''
3334
]
3435
]
3536
],
@@ -56,7 +57,8 @@
5657
'isGuestCheckoutAllowed' => true,
5758
'sdkUrl' => 'http://mock.url',
5859
'dataAttributes' => [
59-
'data-partner-attribution-id' => ''
60+
'data-partner-attribution-id' => '',
61+
'data-csp-nonce' => ''
6062
]
6163
]
6264
],
@@ -82,7 +84,8 @@
8284
'isGuestCheckoutAllowed' => true,
8385
'sdkUrl' => 'http://mock.url',
8486
'dataAttributes' => [
85-
'data-partner-attribution-id' => ''
87+
'data-partner-attribution-id' => '',
88+
'data-csp-nonce' => ''
8689
]
8790
]
8891
],
@@ -108,7 +111,8 @@
108111
'isGuestCheckoutAllowed' => true,
109112
'sdkUrl' => 'http://mock.url',
110113
'dataAttributes' => [
111-
'data-partner-attribution-id' => ''
114+
'data-partner-attribution-id' => '',
115+
'data-csp-nonce' => ''
112116
]
113117
]
114118
],

0 commit comments

Comments
 (0)