File tree Expand file tree Collapse file tree 10 files changed +22
-22
lines changed
TwoFactorAuth/Test/Integration Expand file tree Collapse file tree 10 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2024 Adobe
4+ * All rights reserved .
55 */
66declare (strict_types=1 );
77
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2024 Adobe
4+ * All rights reserved .
55 */
66declare (strict_types=1 );
77
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<!--
33/**
4- * Copyright © Magento, Inc. All rights reserved.
5- * See COPYING.txt for license details .
4+ * Copyright 2024 Adobe
5+ * All Rights Reserved .
66 */
77 -->
88<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<!--
33/**
4- * Copyright © Magento, Inc. All rights reserved.
5- * See COPYING.txt for license details .
4+ * Copyright 2024 Adobe
5+ * All Rights Reserved .
66 */
77 -->
88<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<!--
33/**
4- * Copyright © Magento, Inc. All rights reserved.
5- * See COPYING.txt for license details .
4+ * Copyright 2024 Adobe
5+ * All Rights Reserved .
66 */
77 -->
88<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<!--
33/**
4- * Copyright © Magento, Inc. All rights reserved.
5- * See COPYING.txt for license details .
4+ * Copyright 2024 Adobe
5+ * All Rights Reserved .
66 */
77 -->
88<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2024 Adobe
4+ * All rights reserved .
55 */
66declare (strict_types=1 );
77
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<!--
33/**
4- * Copyright © Magento, Inc. All rights reserved.
5- * See COPYING.txt for license details .
4+ * Copyright 2024 Adobe
5+ * All Rights Reserved .
66 */
77 -->
88<page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
Original file line number Diff line number Diff line change 11/* *
2- * Copyright © Magento, Inc. All rights reserved.
3- * See COPYING.txt for license details .
2+ * Copyright 2024 Adobe
3+ * All rights reserved .
44 */
55.form.wishlist.share .g-recaptcha {
66 margin-bottom : 40px ;
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2015 Adobe
4+ * All Rights Reserved .
55 */
66
77declare (strict_types=1 );
@@ -136,7 +136,7 @@ public function testSendAppConfigRequest(): void
136136 $ this ->manager ->sendConfigRequestTo ($ this ->user );
137137
138138 $ this ->assertNotEmpty ($ message = $ this ->transportBuilderMock ->getSentMessage ());
139- $ messageHtml = $ message ->getBody ()->getParts ()[ 0 ]-> getRawContent ( );
139+ $ messageHtml = quoted_printable_decode ( $ message ->getBody ()->bodyToString () );
140140 $ this ->assertStringContainsString (
141141 'You are required to configure website-wide and personal Two-Factor Authorization in order to login to ' ,
142142 $ messageHtml
@@ -166,7 +166,7 @@ public function testSendUserConfigRequest(): void
166166 $ this ->manager ->sendConfigRequestTo ($ this ->user );
167167
168168 $ this ->assertNotEmpty ($ message = $ this ->transportBuilderMock ->getSentMessage ());
169- $ messageHtml = $ message ->getBody ()->getParts ()[ 0 ]-> getRawContent ( );
169+ $ messageHtml = quoted_printable_decode ( $ message ->getBody ()->bodyToString () );
170170 $ this ->assertStringContainsString (
171171 'You are required to configure personal Two-Factor Authorization in order to login to ' ,
172172 $ messageHtml
You can’t perform that action at this time.
0 commit comments