From a51da614b7117a8a7178560933e37604bd314e31 Mon Sep 17 00:00:00 2001
From: Philipp Stracker
Date: Fri, 13 Jun 2025 16:55:17 +0200
Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Test=20new=20contact=5Fpreference?=
=?UTF-8?q?=20property?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
tests/PHPUnit/ApiClient/Entity/ExperienceContextTest.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/PHPUnit/ApiClient/Entity/ExperienceContextTest.php b/tests/PHPUnit/ApiClient/Entity/ExperienceContextTest.php
index bf074fc67..8e6705f68 100644
--- a/tests/PHPUnit/ApiClient/Entity/ExperienceContextTest.php
+++ b/tests/PHPUnit/ApiClient/Entity/ExperienceContextTest.php
@@ -19,7 +19,8 @@ class ExperienceContextTest extends TestCase
->with_landing_page('NO_PREFERENCE')
->with_shipping_preference('NO_SHIPPING')
->with_user_action('CONTINUE')
- ->with_payment_method_preference('UNRESTRICTED');
+ ->with_payment_method_preference('UNRESTRICTED')
+ ->with_contact_preference('NO_CONTACT_INFO');
$this->assertEmpty($empty->to_array());
@@ -32,6 +33,7 @@ class ExperienceContextTest extends TestCase
'shipping_preference' => 'NO_SHIPPING',
'user_action' => 'CONTINUE',
'payment_method_preference' => 'UNRESTRICTED',
+ 'contact_preference' => 'NO_CONTACT_INFO',
], $result->to_array());
}
}