From b983bec3279a27d69dadab401a65fdee3c1ced11 Mon Sep 17 00:00:00 2001 From: Vasyl Liulka Date: Mon, 23 Sep 2024 11:47:45 +0200 Subject: [PATCH] Fix test warnings --- .gitignore | 1 + tests/Integration/Event/AdminModeSwitch/RendererSwitchTest.php | 1 + tests/phpunit.xml | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 27d28a7..3891397 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /composer.lock /vendor .idea +.phpunit.result.cache diff --git a/tests/Integration/Event/AdminModeSwitch/RendererSwitchTest.php b/tests/Integration/Event/AdminModeSwitch/RendererSwitchTest.php index 7618724..fd38a21 100644 --- a/tests/Integration/Event/AdminModeSwitch/RendererSwitchTest.php +++ b/tests/Integration/Event/AdminModeSwitch/RendererSwitchTest.php @@ -108,6 +108,7 @@ private function getOrderStub(): Order $orderStub = oxNew(Order::class); $orderStub->oxorder__oxbillfname = new Field('Some first name'); $orderStub->oxorder__oxbilllname = new Field('Some last name'); + $orderStub->oxorder__oxbillemail->value = new Field('billing-address@example.com'); return $orderStub; } diff --git a/tests/phpunit.xml b/tests/phpunit.xml index e3bf834..cba098c 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -1,8 +1,6 @@