From f738250c2d76527d2795ae68e6e7d18df3841769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Werner=20Krau=C3=9F?= Date: Tue, 20 Feb 2024 11:56:52 +0100 Subject: [PATCH] fix failing unit test --- tests/OrderCouponTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/OrderCouponTest.php b/tests/OrderCouponTest.php index d3c97c1..72ced6c 100644 --- a/tests/OrderCouponTest.php +++ b/tests/OrderCouponTest.php @@ -22,7 +22,7 @@ public function setUp(): void parent::setUp(); ShopTest::setConfiguration(); - Config::inst()->update(OrderCoupon::class, 'minimum_code_length', null); + Config::inst()->merge(OrderCoupon::class, 'minimum_code_length', null); $this->socks = $this->objFromFixture(Product::class, 'socks'); $this->socks->publishRecursive();